Viewing 15 posts - 9,736 through 9,750 (of 13,469 total)
yeah i've used this code for a "schema checker" which compares a database to various xml docs;
based on an internal table, if your db is marked "version 4" or...
April 7, 2010 at 11:42 am
COLUMNS_UPDATED is very misleading; it returns true if the UPDATE statement happens to include the column in sql statement, not whether it's value changed;
I believe since you cannot manipulate text/image...
April 7, 2010 at 5:14 am
wow excellent catch David! I rarely work under multiple schemas, and certainly missed this!
I've updated my code and previous links to have the correction you mentioned, and you can downloaded...
April 7, 2010 at 5:03 am
i think i've seen this before, where version 539 is not a release-to-market version of SQL , but one of the preview versions.
I had that issue where i could not...
April 6, 2010 at 11:16 am
i've never scripted images out, mostly because they can't be represented in a string;
this link might help you, but everything i've ever seen shows that you have to treat images...
April 6, 2010 at 5:59 am
you'd have to show us the sql statement...it's a simple syntax error, but we'd need to see the statement to help.
April 5, 2010 at 9:49 am
a new, seperate instance would have a greater impact on a machine than simply making tempdb starting with more than enough room to handle expansion needed by your apps calculations....
April 5, 2010 at 9:41 am
something like this? you can use a case statement in the ORDER BY for custom results.
ORDER BY
CASE
WHEN YOURCOLUMN = 2 THEN 10
WHEN YOURCOLUMN =...
April 5, 2010 at 9:37 am
Joy i believe that is a function of the application that is doing the connecting...for example SSMS will wait forever, whereas any application that is creating an instnace of a...
April 5, 2010 at 7:38 am
ironically, since the OP posted to the forum, he gets another email every time we post to the thread,
because he hasn't unsubscibed from the thread, which is different from...
April 5, 2010 at 6:34 am
if you are sure the image field contains text that was converted to varbinary, then you need to convert to nvarchar isntead of varchar i think.
here's a proof of concept:...
April 5, 2010 at 6:27 am
nilesh k (4/5/2010)
well identity columns value is going to differ in delete and insert.so how can i make it worth?
that is not true; I can understand how it might seem...
April 5, 2010 at 6:17 am
when you add the column with the default, you could include the WITH VALUES statment so that existing data gets the new default; then you would not have to update...
April 1, 2010 at 10:57 am
i use this a lot; it's ideal for finditng tablenames or column names that you are looking for.
stick in in the master db:
sp_find inv
finds all tables, and then all columns,...
April 1, 2010 at 10:51 am
andrew sysforeignkeys can get you all the relationships, but it's all integers in there; you have to use some functions to get the data out where it's human-readable.
for example, if...
April 1, 2010 at 9:47 am
Viewing 15 posts - 9,736 through 9,750 (of 13,469 total)