Viewing 15 posts - 4,426 through 4,440 (of 13,460 total)
Sanjay openrowset does not allow variables...it must be a static string inside single quotes. Replace @image with 'c:/filename'
You could build an openrowset as a string and use dynamic sql instead
Lowell
November 11, 2012 at 4:45 am
instead of dropping and recreating, it would be much faster and easier to generate code to simply rename the existing constraints.
this is what i would do:
/*
EXEC sp_rename 'DF__SFHEAD__MSLOAN__51278362','DF__SFHEAD_MSLOAN'
EXEC sp_rename 'DF__SFHEAD__URUSEAMT__2D8A0CC1','DF__SFHEAD_URUSEAMT'
EXEC...
Lowell
November 9, 2012 at 9:27 am
ok clue me in, because i'm not seeing it...
what difference does it make on # of logical cores?
why not calculate, say 7/8ths of the total available memory for the SQL...
Lowell
November 9, 2012 at 6:22 am
here's an example that kind of shows what we are talking about...you have to select from all possible values, and join that to what was sold.
run this and take a...
Lowell
November 8, 2012 at 2:32 pm
yogi123 (11/8/2012)
Helloin one table, i need to find from which sql account, table got insert , update and delete.
so please help me, how i track this
Thanks
Unless you've already setup a...
Lowell
November 8, 2012 at 12:13 pm
Received an pm asking for more details on the programming portion of this, as CLR can be a bit scary the first time around.
hopefully, this can get someone started, but...
Lowell
November 8, 2012 at 12:08 pm
these two queries seem to return all the objects and all the assemblies:
EXEC sp_MSforeachdb 'SELECT ''?'' As DBName,
...
Lowell
November 8, 2012 at 10:14 am
oh yeah!!!

Lowell
November 8, 2012 at 9:23 am
I'd do exactly what Sean is recommending...I'd have a service slam the web site and store the results in a table, all outside of TSQL.
Now, having said that, just to...
Lowell
November 8, 2012 at 8:08 am
here's a TSQL method, which generates the actual REPLACE statements you would want to use to remove the css style assignment, if it exists.
Notice how i'm generating a lsit of...
Lowell
November 8, 2012 at 6:02 am
Markus (11/8/2012)
Lowell
November 8, 2012 at 5:45 am
you know your data better than use;
this query seems to be what you were trying to insert.
does the sELECT return teh expected values? if the PatientId = Key, and it...
Lowell
November 7, 2012 at 2:25 pm
Edit!!
Snippy Snippy Double Dippy!
i double psoted somehow sorry.
Lowell
November 7, 2012 at 2:24 pm
you can use a standard integer identity, and then simply format the number with preceeding zeros whenever you are displaying it. there's no need to store preceeding zeros...that's just a...
Lowell
November 7, 2012 at 6:28 am
there sure is...
on the same page you posted, there's a drop down menu for Otehr versions...R2 was the sole selection, which redirects you to here:
http://msdn.microsoft.com/en-us/library/bb677408(v=sql.105).aspx
Lowell
November 6, 2012 at 9:29 am
Viewing 15 posts - 4,426 through 4,440 (of 13,460 total)