Viewing 15 posts - 42,166 through 42,180 (of 59,102 total)
It's actually pretty easy to do... but in T-SQL and you need something to guarantee the order. If you have something to guarantee the order, I can show you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 11:24 pm
Heh... glad to see you back in sorts, Bob... although I was getting used to calling you "the Dot formally known as Bob". 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 10:46 pm
Jim McLeod (8/30/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 10:36 pm
setlan1983 ,
First, you owe me an explanation. You wrote that you want it done in a single query... would you mind telling me why? There's a reason I...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 10:33 pm
There's just one problem in all of that... try the following code and see the potential error... especially in SQL Server 2000.
SELECT DISTINCT Number
FROM master..spt_values WHERE Number >= 0...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 9:55 pm
Jim McLeod (8/30/2009)
Jeff Moden (8/30/2009)
Heh... what are you folks going to do if there's more than one day in the query? 😉
See if management will change their requirements? 😉 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 8:27 pm
Heh... what are you folks going to do if there's more than one day in the query? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 6:46 pm
Converting NULLs to 'N/A' is one of those formatting things for display purposes and it shouldn't be done in the database... it should be done in the GUI or reporting...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 6:02 pm
Heh... have you or Manu actually tried it on the TEXT datatype to see if it works?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 4:37 pm
Steve Jones - Editor (8/30/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 4:29 pm
gmamata7 (8/30/2009)
Can I have the script to know the fragmentation level for all the indexes in a database.Because
1. I want to make a note of Fragmentation level for all the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 1:51 pm
Try a right join. If I remember correctly, (+) in Oracle is on the opposite column that you would expect.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 1:47 pm
PaulB (8/29/2009)
Rule #33: Never ever run neither DML nor DDL against production without having successfully tested it before.
Shoot... that's rule #1 for me.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 1:44 pm
Export in native format using BCP and then import it.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 1:42 pm
Heh... and now that I've read the article, I'll say again... "All of it". 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 30, 2009 at 1:40 pm
Viewing 15 posts - 42,166 through 42,180 (of 59,102 total)