all groups > sql server programming > may 2006 > threads for sunday may 28
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
transaction log full error - out of space - need help to troublesh
Posted by Augustin Prasanna at 5/28/2006 11:15:01 PM
Hi,
We have a shared database server where we have hosted databases for few of
our applications. transaction log file of one of the database grows at a
rapid space (reaches 20gb in 2 hours). we have scheduled a job which
truncates the log file periodically. But still we encounter the 'log f... more >>
Variable appending
Posted by ybc at 5/28/2006 9:31:02 PM
Hi,
I'd like to know how to append strings to a varible, ie. @var = @var + @string
The code is something like this:
while (@@fetch_status = 0)
begin
set @message = @message + @user + ';'
fetch next from user_curs into @user
end
print @user
It seems string... more >>
Cannot create trigger 'dbo.Profile.ProfileCodes_AspNet_SqlCacheNotification_Trigger' as its schema is different from the schema of the target table or
Posted by emer at 5/28/2006 8:22:11 PM
I am having problems enabling sql table for notifications in sql 2005.
The problem is that when i use custom schema name i get following
error:
Cannot create trigger
'dbo.Profile.ProfileCodes_AspNet_SqlCacheNotification_Trigger' as its
schema is different from the schema of the target table o... more >>
command scripts
Posted by mmc at 5/28/2006 8:19:01 AM
I have created some stored procedures (SP) containing DBCC commands for
system maintenance and status checks. Does anybody know where to get sample
windows command scripts that will wrap all of my SPs, create logs, and also
where the windows scheduler could run at specific times. The idea is t... more >>
Recordset Find method vs. direct SELECT SQL statement - which is better performance-wise?
Posted by Anat at 5/28/2006 12:36:16 AM
Hi,
Assuming I have to locate a single (un-indexed) textual field in a
"heavy" table in SQL 7 DB.
My alternatives are to:
1. SELECT all table ONCE into a recordset and use the FIND method each
time.
2. Use a SELECT statement each time needed.
Which would be better, performance-wise?
Than... more >>
Need Help on update trigger
Posted by Stephen K. Miyasato at 5/28/2006 12:11:35 AM
This is my first attempt to build a update trigger.
CREATE TRIGGER PatNotes_update ON PatNotes
AFTER Update
AS
set nocount on
--update Notify
--set signed = 3
Select *
from Notify as N
inner join update as u on n.orderNo = u.encInc
... more >>
|