Viewing 15 posts - 52,201 through 52,215 (of 59,091 total)
Oh yeah... I almost forgot... the CLUSTERED INDEX (PK in this case) is absolutely essential. Normally, I'd name the key in the FROM clause using a WITH(INDEX(indexname,TABLOCKX)) hint to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 8:54 pm
It's actually in Books Online under UPDATE...
Syntax
UPDATE
{
table_name WITH ( ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 8:51 pm
I have a really unique method of getting developers to follow the standards... I take them out to dinner and feed them nice juicy pork chops... with a slingshot! ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 8:42 pm
salinasalina2001 (3/2/2008)
i need to quote my columns into strings like
'"'+cast(columnname as data type())+'"' so that if the column name is FristName
to be displayed in notepad as "FirstName" ie...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 8:24 pm
This is the second time I've seen this and I don't know how folks are doing it... I don't know how or why it says "Discuss Content Posted By Jeff...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 8:22 pm
The code I posted before works fine on the data you posted before 😉 This new problem description is just a wee bit different...
... this will do it... lightning...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 8:10 pm
timothyawiseman (3/3/2008)
ksullivan (3/3/2008)
Do you mean to check if the string can become a table name or to check that a table with name = string exists?
I am trying to check...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 7:28 pm
And, because of the way it sounds like you're doing things, it could also be when Auto-grow runs... especially on your TempDB. Preset TempDB big enough so it NEVER...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 7:21 pm
Fluctuations in connectivity or other network issue? Have you got proof that's what it is? My bet is on some code that runs in the background somewhere...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 7:16 pm
Wouldn't it be easier to change the color of a cell using "conditional formatting"?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 7:14 pm
I absolutely agree that this type of formatting should probably be done in the GUI...
... but it's too damned much fun doing it in T-SQL :D:P;):w00t::hehe::)
Ian... I got carried away......
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 6:43 pm
It seems to me that a bit of divide and conquer will make this run much faster... when you're all done, look for PatientID's that have a Parm of 5....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 5:21 pm
Ya know... you'd get a lot better help quicker if you did what the URL in my signature lines tells you to do... just a thought... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 1:36 pm
zactly....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 1:32 pm
Ya do gotta be flexible... shoot... I even taught myself how to run plenum cable and make both Cat 3 and Cat 5 teminations... had to do it because I...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 3, 2008 at 1:20 pm
Viewing 15 posts - 52,201 through 52,215 (of 59,091 total)