Viewing 15 posts - 12,001 through 12,015 (of 13,461 total)
ouch...without dynamic sql, and still trying to do it in SQL and not a programming language, I don't know how you'd be able to do it.
the headache is the max()...
October 8, 2008 at 10:22 am
4194840 = TORN_PAGE_DETECTION,OFFLINE,AUTOSHRINK
528 = TORN_PAGE_DETECTION,OFFLINE
my script from page one helps find the values, here's a snippet where i just plug in specific values:
declare @status...
October 6, 2008 at 9:39 pm
jacob hit the nail on the head; chances are , if you can post the trigger here, we can show you how to re-write it so it handles multiple rows...
October 6, 2008 at 9:38 am
I've only got the Express Edition, but the logic to get the data out should be easily adaptible.
you want to use a CASE statemnt for each of the variables; "&",...
September 28, 2008 at 3:05 pm
like Glen said, changing the Server collation does not affect any databases, nor the individual columns that exist int he database...you need to handle those seperately.
Server collation...
each database collation...
Each column...
September 26, 2008 at 9:50 am
found this specific citation; 2005 and 2008 have the same maxes for this
http://msdn.microsoft.com/en-us/library/ms143432.aspx
SQL Server Database Engine object ...
September 26, 2008 at 7:57 am
it depends on what you want to do, of course....say that if it's 7 characters, do you you do anything at all? do you only strip off the first character,...
September 25, 2008 at 1:12 pm
the issue you are running into is the account SQL server is running under is not an account that has access to teh network. jobs run under the security context...
September 24, 2008 at 2:55 pm
a combination of using substring and a where statement will do the job; you might need to tweak the WHERE statemtn...are you sure it's only items that are exactly 8...
September 24, 2008 at 2:15 pm
i think the update is this:
UPDATE TableA
SET TableA.[Cap Code] = TableB.CapCode
FROM TableB
WHERE (((TableB.CapCode) Is Null) AND ((TableB.FromDate)
Between [Effect Date] And [Term Date]))
OR (((TableB.CapCode) Is...
September 24, 2008 at 1:08 pm
your too fast for me...once a path gets too many levels deep, i like screenshots too.
September 24, 2008 at 12:05 pm
yep it sure does: Tools>>Options

September 24, 2008 at 11:58 am
avoid doing anything in a trigger not realted DIRECTLY to the data...an activex object could cause the trigger to rollback, or lock the table as the trigger waits for the...
September 18, 2008 at 12:04 pm
Viewing 15 posts - 12,001 through 12,015 (of 13,461 total)