Viewing 15 posts - 53,851 through 53,865 (of 59,068 total)
This should do it...
UPDATE Grade
SET Grade_Name = CASE
WHEN Grade_ID = '35800'
THEN 'TRANSCOPY' + CHAR(153) --™
...
November 28, 2007 at 2:33 pm
Not trying to be a smart guy here...
What did you learn by this?
November 28, 2007 at 2:13 pm
Jpotucek (11/28/2007)
exec sp_helpdb comes...
November 28, 2007 at 2:03 pm
That's easy... it would be the person with the most to loose if the design is bad 😉 That's the only way someone will be interested enough in doing...
November 28, 2007 at 1:41 pm
Doug Stoltz (11/28/2007)
1) I belive my earlier statement about the 2 web users sharing the same connection are correct, but I believe...
November 28, 2007 at 1:30 pm
oh, be careful with IDENT_Current... lot's of folks can insert rows in that very brief time span between the time you do an insert and the time you use IDENT_Current.
November 28, 2007 at 12:59 pm
Sorry about the EM thing... still trying to flatten out a crease in my brain with coffee...
If you set the scripting options correctly in Query Analyzer, you can generate such...
November 28, 2007 at 12:55 pm
Ron_Kunce (11/28/2007)
Thanks for the Ammo!:D
Heh... ammo is one thing... learning how to shoot it straight may be another. My advice is to play with the code I gave you......
November 28, 2007 at 12:50 pm
How do you pronounce this, i.e. what comes after trillion
Heh... "Quadrillion"...
Mill = 1
Bill (or BI) = 2
Tri = 3
Quad = 4
etc, etc...
Except in some European countries 😛
November 28, 2007 at 12:40 pm
Start in Enterprise Mangeler... uh... Enterprise Manager. 😀 Drill down to the database tables you want and select them all. Right click on any of the selected tables,...
November 28, 2007 at 12:35 pm
You could probably get away with the VARCHAR location ID.
On the other, consider this... what does a dealer need most? Customers? What would a dealer need to trend...
November 28, 2007 at 12:22 pm
Yeap... even on my 4 year old 1.8GHz desktop... not much of a difference... remember, this is to "return" a million rows out of 2 million...
==============================================================================
Testing lookup for non-0 Ints...
November 28, 2007 at 11:51 am
Are you using any of the sp_OA* stored procedures? Are you closing GUI (and other) connections to the data base when they are no longer needed?
November 28, 2007 at 10:11 am
Matt beat me to it... using a cursor for this is a sure fire way to make code run slow. Lose the cursor and do it in the setbased...
November 28, 2007 at 10:07 am
They would be in "Books Online" which is the T-SQL help that comes free with SQL Server... learn to love it...
Lookup "Functions" after you find "Books Online"... I'm not sure...
November 28, 2007 at 10:00 am
Viewing 15 posts - 53,851 through 53,865 (of 59,068 total)