Viewing 15 posts - 11,566 through 11,580 (of 13,469 total)
my fault... i was running the query in a database that was Compatibility level 80....duh!
Lowell (2/18/2009)
Msg 156,...
February 18, 2009 at 10:09 am
Jack I get an error when trying to test the code snippet you pasted...
Msg 156, Level 15, State 1, Line 19
Incorrect syntax near the keyword 'CASE'.
I must be blind, because...
February 18, 2009 at 9:50 am
most likely this is related to installing an EXPRESS version ..express does not allow remote connections by default, you must enable it using the Surface Area Configuration Manager:

February 18, 2009 at 8:38 am
ok, what happens int eh case of a tie?...for code 75360412, two names have been used twice in your example
results:
code ...
February 17, 2009 at 9:57 am
you hit the reason on the head...Cost.....Developer version is not licensed for production.
imagine you have 20 developers on your team, building an application that will be deployed in production...each developer...
February 17, 2009 at 8:59 am
psuedo code sucks big time.
what does the REAL data look like? if you just want the first character, or do you want to strip out non- letter stuff fromt...
February 17, 2009 at 8:50 am
it's possible to connect to SQL server without using TCP/IP (you can use named pipes); so those named pipes users would not have an IP address available to query;
Just like...
February 17, 2009 at 8:43 am
when i use that script wizard in 2005 SSMS, i get an option at the end to script per file:

but i'll be darned if i see the equivilent in Tools>>Options...
February 17, 2009 at 5:50 am
Also could it be that the log file is being appended to instead of overwritten WITH INIT, so the big backup actually contains 30 or so regular 5 Meg backups...
February 17, 2009 at 4:50 am
unless you add an alias to the the tables from the other db, you have to reference them with the whole 4 part identifier in the select:
[ON_KEY_42R5_UDM2]..astAssets.ID,
not just...
February 17, 2009 at 4:38 am
damn you are right....
i copied this from the end of a long thread, figuring it was complete...i tried isReallyInteger('bob'), which returned 1 for true...I'm looking at it, but it's either...
February 16, 2009 at 2:02 pm
a much longer thread on the ins and outs and liabilites of the IsNumeric function resulted in two enhanced user function s:IsReallyNumeric and IsReallyInteger. I saved them in my snippets.
try...
February 16, 2009 at 1:36 pm
except for the fact that a delete is logged and truncate is not, doing a DELETE and the DBCC RESEED has the same affect.
this script grabs the tables in FK...
February 16, 2009 at 1:28 pm
just missing the ELSE/END:
update tblDrawings
set TypeCode = case SheetNumber
...
February 16, 2009 at 8:47 am
it's your business process, so you'd know better than me...do you need to update the whole table every time?
i thought the trigger should only update from the INSERTED table, and...
February 16, 2009 at 6:54 am
Viewing 15 posts - 11,566 through 11,580 (of 13,469 total)