Viewing 15 posts - 47,671 through 47,685 (of 59,102 total)
FreeHansje (10/21/2008)
Jeff, the statement is as given in my first post. I get about 13000 1-row-effected messages in my...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2008 at 5:10 am
See? What a rich man I am to have such good friends as Barry. We've had more darned fun on these forums.
Thanks for the laugh, Barry. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 11:45 pm
rbarryyoung (10/20/2008)
Jeff Moden (10/20/2008)
1 archaic : a prolonged discourse
2: a bitter and abusive speech or writing
3: ironic or satirical criticism
... ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 11:12 pm
tjm (10/20/2008)
Yes. I can see the max_length, but not data_types? Any suggestions?
SELECT * FROM Information_Schema.Columns
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 8:07 pm
Nikhil Shikarkhane (10/20/2008)
and have it comma separated cause using...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 7:26 pm
Nicely done, Greg. And, if you want the date/time to change no matter which column is updated, just remove the IF...
CREATE TRIGGER tr_your_trigger_name
ON [YourTable]
FOR INSERT,UPDATE
AS
IF @@ROWCOUNT = 0 RETURN
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 7:11 pm
FreeHansje (10/20/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 7:04 pm
Heh... I'm not a religious man, but what ever happened to following the original 10 laws? They're well written and cover, quite literally, a wealth of sins. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 7:01 pm
I'd seriously consider doing some DB and disk maintenance... I don't let the Scan Density get below 90% before I do a rebuild, especially if the clustered index isn't chronological...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 6:55 pm
If you have the file open with something when you try to do the run, you will get an error like you did.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 6:45 pm
Steve Jones - Editor (10/20/2008)
Interesting comments, and no complaints, Jeff. Just wondering. Usually I get a good diatribe if I've stoked your interest.
Heh... which definition of "diatribe" do you mean...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 6:44 pm
I agree with the problems that the folks in the posts above have cited. Further, there is an absolutely glaring problem with this method (no fault of the author)...
"refactor...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 5:46 am
Steve Jones - Editor (10/19/2008)
That's it? I wear you two out on the Financial Crisis poll 🙂
Heh... the one time I agree with anybody 100% and you ask if "That's...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2008 at 5:13 am
Prakash.Padmanabha (10/19/2008)
I am recently into SQL Server programming and assuming we need a single row for each line, I have written this query which is giving the results as...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 19, 2008 at 10:23 am
Exactly... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 18, 2008 at 6:49 pm
Viewing 15 posts - 47,671 through 47,685 (of 59,102 total)