Viewing 15 posts - 9,706 through 9,720 (of 14,953 total)
Try the attached file in Management Studio. See if it does what you need.
You can use a column name instead of the @XML variable, if you're inserting the data...
April 29, 2009 at 10:01 am
If it's a reporting services report, then reporting services is the front end.
If you really need to do the pivot in SQL, then take a look at the article on...
April 29, 2009 at 9:44 am
I can't quite tell, but it looks like your first Case checks for the presence of a comma, then runs a charindex on a blank space. If that's what...
April 29, 2009 at 9:41 am
Lowell (4/29/2009)
this sounds like something perfect for a CTE to do. expose an SMTP dll and read an email account.
CTE or CLR? I think you mean CLR.
April 29, 2009 at 9:37 am
http://www.simple-talk.com has an article on dynamic pivots in SQL.
Personally, I always recommend pivoting in the front-end application. Excel, Crystal, SSRS, are all better at dynamic pivots than T-SQL is.
April 29, 2009 at 9:36 am
Autoshrink is always a bad idea, so far as I can tell. Even Microsoft recommends against it, and they're the ones who made it available.
April 29, 2009 at 9:27 am
Most likely, a change in the domain. Otherwise, something changed in the DNS files or the server.
April 29, 2009 at 9:25 am
Can you create an empty copy of the database, then add the filegroups to that?
April 29, 2009 at 9:24 am
It can. Whether it will or not is another question that depends on what else is going on with the table at the same time.
April 29, 2009 at 9:23 am
You'll want to join the tables using that column, then put the other part in the Where clause.
If you can put the create scripts for the tables into the forum,...
April 29, 2009 at 9:22 am
Including it improves performance. The only reason to not include it is if different users access different tables, and you want that managed by the database. Doing so...
April 29, 2009 at 9:21 am
There is no perfect solution. Either the data is completely secure, and can easily become unretrievable, or it's just barely secure, and easy to recover, or somewhere in between.
Since...
April 29, 2009 at 9:19 am
I don't have enough data to be sure, but the way you currently have it looks correct, or at least standard.
April 29, 2009 at 9:12 am
If that index will work for clustering, then sure, go ahead. You'll know more about the table and its uses than I do, so your judgement on the subject...
April 29, 2009 at 9:10 am
In that case, I think you're stuck with setting up the dependency and hoping they made it fault-tollerant enough to deal with it.
I guess your best bet would be to...
April 29, 2009 at 8:48 am
Viewing 15 posts - 9,706 through 9,720 (of 14,953 total)