Viewing 15 posts - 4,381 through 4,395 (of 13,469 total)
you probably never notice, but SSMS builds a default connection string that points to a specific database, like master, unless you selected or left <default> in place , so...
November 16, 2012 at 11:58 am
you can create a linked server to point to an excel spreadsheet, and then reference it just like shanghaigirl-1125377's example.
here's my detailed notes and example on getting it set up...
November 16, 2012 at 11:22 am
here was my test...i made a cross database synonym in one database,a dn then a procedure in the same database as the synonym:
create synonym MymasterView for SandBox.dbo.VW_FIXEDWIDTH
create procedure pr
as select...
November 16, 2012 at 11:16 am
i *think* this would give you a list of dependancy items that reference an existing synonym in a specific database.
note you can have global synonyms/ cross database synonyms in the...
November 16, 2012 at 9:18 am
i have this scalar function saved in my snippets, that basically strips chars that don't fit within desired ranges;
this strips your 0-31, but also spaces, punctuations and all high ascii...
November 16, 2012 at 9:11 am
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...
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...
November 15, 2012 at 12:12 pm
Georges link again for clarity:
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.
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...
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...
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...
November 15, 2012 at 6:04 am
ntingab (11/15/2012)
Thank you Lowell
glad this post helped you, ntingab!
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...
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...
November 14, 2012 at 2:39 pm
Viewing 15 posts - 4,381 through 4,395 (of 13,469 total)