Viewing 15 posts - 4,006 through 4,020 (of 13,462 total)
I'd go with the powershell as well, but here's one more alternative:
I've used SQLRecon in the past, which is free and did the job for me, but was last...
February 13, 2013 at 7:22 am
side note to mister.magoo: which SSMS add on is that that lets you group totals from the results grid?
February 13, 2013 at 5:43 am
CTE with variables? sure, it's just like any other SELECT statement WHERE SomeColumn = @Param is certainly valid; just declare the variables before teh CTE, adn make sure you end...
February 12, 2013 at 2:57 pm
newbieuser (2/12/2013)
February 12, 2013 at 2:40 pm
UT excellent job with the DDL and sample data;
does this give you the results you are looking for?
SELECT
ID,
TTYpe,
TTime,
COALESCE(NULLIF(TFunction, ''), TStatus) AS...
February 12, 2013 at 2:15 pm
bah the above won't work because of the local table.
divide and conquer is what you'll need to do i think.
i would try to use a CTE that gets just the...
February 12, 2013 at 1:34 pm
amybe...but the problem with open query is your command has to be a static string...no variable, or concatenation of stirngs plus variables are allowed.
how would this worl for you:
SELECT *...
February 12, 2013 at 1:28 pm
at least viewing the estimated execution plan would give you a ballpark number;

February 12, 2013 at 12:24 pm
it works for me fine when i use
EXEC(@ViewStr)
--or
EXEC sp_ExecuteSQL @Statement = @ViewStr
I don't think you need the parameters in the EXEC anyway;
the string passed doesn't have...
February 12, 2013 at 9:13 am
i believe that unless you have started your instance with trace flag 1807, the server can only attach databases that exist on local, and not network storage.
the trace flag is...
February 12, 2013 at 7:07 am
NineIron (2/12/2013)
MRN ...
February 12, 2013 at 6:22 am
davidsalazar01 (2/12/2013)
It's only one occurence (e.g.<DID>) in the XML and your right I only want the data between the tags. Would the samples you posted do the trick? ...
February 12, 2013 at 6:03 am
could the script be overwriting the same backup file with differnet databases?
ie the db "Dictionary" gets backed up to C:\Data\Backup.bak, and then the database "SandBox" overwrites teh exact same file...
February 12, 2013 at 5:45 am
david the select statement you posted will find where the END tag begins...wouldn't you want the value between the <did> </did> tags?
could the opening <did tag have attributes?
is there more...
February 12, 2013 at 5:33 am
You probably have all the links you needed now Jeff, I'm late to the party on this one, but here's one more:
Project Gutenberg has a large number of ftp mirrors...
February 11, 2013 at 3:23 pm
Viewing 15 posts - 4,006 through 4,020 (of 13,462 total)