Viewing 15 posts - 16 through 30 (of 31 total)
Still I'll have a look at that article you suggested...
One can always learn something new.
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
October 29, 2008 at 7:23 am
Also thanks for the
ID IN (SELECT ID FROM INSERTED)
I actually did it like this, the example was just quick and dirty....
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
October 29, 2008 at 7:05 am
Awesome! Thanks a lot Jack.
I was dazzled by the absence of a BEFORE Trigger. But well, thats how it works.
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
October 29, 2008 at 6:46 am
Thanks a lot - all of you.
Apparently it would always be best to validate the user input at the user level. But I cannot do anything about that....
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
June 18, 2008 at 9:04 am
I thought about that earlier...maybe there is a way
Thanks a lot!
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
June 18, 2008 at 7:50 am
This trigger is executed for every insert statement, isn't it? I'm a little worried about performance issues: Can't I just fire it if the error occurs? Like a try/except mechanism?
Best...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
June 18, 2008 at 7:04 am
Mark Beringer (6/18/2008)
So from what I understand you dont have control over the insert statements... Have you thought of writing a trigger on that table to intercept the SQL statement?
Exactly....
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
June 18, 2008 at 6:55 am
Thats a first step. But I don't want the whole row to be eliminated, only the datetime value reset to be null or something else. Is there another solution than...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
June 18, 2008 at 6:52 am
Thanks Vladan,
the idea is good, but unfortunately not applicable in my case. I have thousands of insert statements where only a minimal subset has data of that type, ranging from...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
June 18, 2008 at 6:20 am
Steve Jones - Editor (1/22/2008)
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
February 1, 2008 at 1:20 am
Thx!
Another session you say... that makes sense. But how can I address the current session? I created a "credential" that maps to the user for which I want the script...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
January 22, 2008 at 10:32 am
Add on:
[font="Courier New"]Set ShellWSH = CreateObject("WScript.Shell")
ShellWSH.Run """" & "notepad" & """" & "xy.txt", 1,false
Set WshShell = Nothing[/font]
I'm not quite sure if the "1,false" makes this difference - I guess it...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
December 19, 2007 at 5:44 am
Marvellous you guys.
Thanks a lot for the helpful answers!
I'm fine now. But as I know MS Products it might not last forever...
Later!
Dankwart
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
November 20, 2007 at 10:09 am
Certainly I got your point, Don Corle... äh Grasshopper. Except from this one: Whats with the "init"?
Full backup with init
Diff Backup with init
Log Backup
Log Backup
Log Backup
Log Backup
Diff Backup
Log...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
November 16, 2007 at 1:32 am
Awkwardly I restricted the logfile not to grow beyond 10GB. Obviously I'm missing something there...
It was 65GB and the hard drive was running out of space.
The log backup...
--------------------------------------------------------
[font="Comic Sans MS"]Correct me if I'm wrong[/font]
November 15, 2007 at 8:11 am
Viewing 15 posts - 16 through 30 (of 31 total)