Viewing 15 posts - 4,381 through 4,395 (of 13,460 total)
Sean Lange (11/16/2012)
That is an interesting script. The easiest way to avoid the collision is to stop using the deprecated text datatype. Use (n)varchar(max) instead.
i was trying a simple code...
Lowell
November 16, 2012 at 8:56 am
jbayliss i'm not sure what the end results were from sp_MakeWebTask; i would assume it was a simple grid like results of the table?
if that's true, I tossed a CLR...
Lowell
November 15, 2012 at 12:12 pm
Georges link again for clarity:
http://www.sqlservercentral.com/scripts/Permissions/76450/
Lowell
November 15, 2012 at 9:22 am
can't you change it so that the ending delimiter is comma-Carriage-Return instead of just CarriageReturn?
that would fix it i think.
Lowell
November 15, 2012 at 8:59 am
go ahead and throw your cursor away.
the data you are looking for is already materialized for you;
the indexes maintain a count of the number of rows for every table.
try this...
Lowell
November 15, 2012 at 6:33 am
another , better possibility os to create temp tables to hold the results of the two procs, and then use multiple temp tables:
the only issue with that is knowing...
Lowell
November 15, 2012 at 6:10 am
sumith1andonly1 (11/15/2012)
Stored Procedure 1 calls Query 1
Stored Procedure 2 calls Query 2
i would like to have:
Stored Procedure 3 calling Query 1 and Query 2 and then combine...
Lowell
November 15, 2012 at 6:04 am
ntingab (11/15/2012)
Thank you Lowell
glad this post helped you, ntingab!
Lowell
November 15, 2012 at 5:13 am
pretty sure those settings are stored on the machine you set it up on.
for my SQL2012, it actually in %appdata%\Microsoft\SQL Server Management Studio\11.0\SqlStudio.bin,
and similar folders for 2008 or R2.
you'd want...
Lowell
November 14, 2012 at 2:51 pm
also, an express edition usually installs a named instance (.\SQLEXPRESS for example) and not a default instance that will answer to (local)
look in Control Panel/Administrative Tools>>Services and see if it's...
Lowell
November 14, 2012 at 2:39 pm
with what you've shown so far, you can certainly do them all at once; so you've left some important details out of the question at hand.
it's probably more a question...
Lowell
November 14, 2012 at 2:19 pm
from my notes, which i swear i use daily when fiddling with dates:
--another midnight
CAST(DATEDIFF(dd,0,somedatetime) AS DATETIME).
this is one of the coolest things to use once you get your head...
Lowell
November 14, 2012 at 11:51 am
ok, i see starting from right to left, when it gets to the right merge join, it's dealing with 14 trillion rows of data... a couple of those operations...
Lowell
November 14, 2012 at 11:45 am
i've had that happen to me before;
you can change the database compatibility level (to 80?), and that will suppress the error.
alternatively, the error says what the issue is.
if you have...
Lowell
November 14, 2012 at 9:56 am
you'll need to get a copy of sp_help_revlogin from microsoft; there are different versions, depending on 2000/2005, maybe even for 2008 and above, i don't quite remember.
assuming you are going...
Lowell
November 14, 2012 at 9:43 am
Viewing 15 posts - 4,381 through 4,395 (of 13,460 total)