Viewing 15 posts - 10,951 through 10,965 (of 13,462 total)
Dugi's got you on the right track. use ISNULL to put in a default value, or raise an error before it gets to the trigger in the first place.
as...
June 19, 2009 at 8:22 am
ps (6/19/2009)
Also wouldn't it be good to drop the database if you do not want tables to be there?
Question...
June 19, 2009 at 8:17 am
your'e trying to use an identity() column in the wrong way; an identity should simply identify one row as unique, and should never repeat...what you want is basically a ranking...
June 19, 2009 at 8:13 am
it can be done yes...but it's going to involve a bit of work. search for "FTP" on this site, and look at "Scripts" ; there s quite a few contributions...
June 19, 2009 at 7:55 am
GilaMonster (6/19/2009)
June 19, 2009 at 7:19 am
'ftp://username:password@xx.xx.xxx.xxx/domainname/www/textdocument.txt' is not a static filepath..., you have do download the file from your ftp site to a location on the server(or maybe in anetwork share if your account...
June 19, 2009 at 7:05 am
it might be that you need identify the columns to insert into:
INSERT INTO DatabaseReport.dbo.Database_File_Info(col1,col2...)
June 19, 2009 at 12:43 am
did i misread the question? i thought he wants audit triggers to write to a separate database,and didn't see where anything about a separate server.
I thought it would be a...
June 18, 2009 at 8:04 am
no, it's my ignorance John, sorry...
I know the HTML way to get the desired action, but not how to do it via the Reporting Services Interface.
I think Nate pointed you...
June 17, 2009 at 9:34 am
yes, you can uninstall FTS, and then re-install it;
ive done that with FTS and reporting services; it doesn't break any other part ofg your installation.
June 17, 2009 at 8:26 am
If it is the right version, you'll need to rerun the setup. You can go to Add Remove programs and find SLQ express..the dialog would have a modify option so...
June 17, 2009 at 8:11 am
i think something like this would work:
CREATE TRIGGER TR_TEXT ON [uitgifteregel]
FOR INSERT
AS
BEGIN
IF EXISTS(SELECT [oaantal]
FROM...
June 17, 2009 at 7:07 am
no need to add duplicate posts if you didn't get the answer you were after;same question was asked here:http://www.sqlservercentral.com/Forums/Topic735615-145-1.aspx
the more information you provide, the better we can help you.
show us...
June 17, 2009 at 5:20 am
sagi (6/16/2009)
write trigger for a table.i.e attendance tablecolumns:emp_id,lunch_out_time,lunch_in_time
suppose lunch_out_time=1pm
in attendance table lunch out time should insert only after 1pm, should not insert before 1 pm
plz send code very urgent thn'ssssssss
duplicate...
June 17, 2009 at 5:19 am
that's a good question.
do a select * from sys.traces
the first column, "id", is the traceid.
with that value, you could stop and then delete the trace:
assuming the traceid is 2,...
June 16, 2009 at 3:07 pm
Viewing 15 posts - 10,951 through 10,965 (of 13,462 total)