Viewing 15 posts - 3,871 through 3,885 (of 14,953 total)
Have you tested Snapshot Isolation on it?
June 28, 2011 at 2:26 pm
If you will continue with older versions of SQL Server, sp_makewebtask is fine. However, this is from MSDN:
sp_makewebtask is retained for backward compatibility. New Web pages are more easily...
June 28, 2011 at 2:25 pm
Something that has nothing to do with databases or analysis thereof. Maybe pictures of kittens or something. After all, a site with pictures of kittens is a pretty...
June 28, 2011 at 1:58 pm
Does the table get a lot of updates/inserts/deletes?
If so, page splits can cause exactly what you're talking about.
The best way to avoid that is dump NoLock and switch to using...
June 28, 2011 at 12:57 pm
Just to add to the clamor, normalization will most likely speed your queries and such up, not slow them down. Done wrong, it'll break everything, of course. Done...
June 28, 2011 at 11:58 am
dva2007 (6/28/2011)
I hate myself for not thinking this. It is one of the best solution. There must be other alternative where i can Unpivot it and then write the select...
June 28, 2011 at 11:56 am
In SQL 2000, you'll have to use sp_OA_CreateObject, and use OLE automation into Excel, instead of CLR.
June 28, 2011 at 10:54 am
I hate to say it, but this is the Internet. I don't open Office documents from unknown sources here, for obvious security reasons.
Can you post your code in the...
June 28, 2011 at 10:42 am
How are you defining the date ranges? Are they from an input parameter, or a table, or just completely arbitrary?
June 28, 2011 at 10:39 am
You could use CLR integration to instantiate Excel, create a file, save it, and write into it.
June 28, 2011 at 10:35 am
The first trick is splitting the comma-separated values into separate rows. Check out Jeff Moden's article on this site for the best solutions for that.
After that, it should be...
June 28, 2011 at 10:34 am
Probably the easiest way to get that data is a recursive hierarchy query. I'd need to have table definitions in order to suggest anything more detailed than that. ...
June 28, 2011 at 10:32 am
Since you're probably stuck with that table, try this:
select * from England.dbo.HealthData
where sex = 'Male'
and hospital = 'Cleavland'
and left(OPERTN_01 ,4)+
left(OPERTN_01 ,4)+
left(OPERTN_02 ,4)+
left(OPERTN_03 ,4)+
left(OPERTN_04 ,4)+
left(OPERTN_05 ,4)+ (... rest of your columns)
left(OPERTN_15...
June 28, 2011 at 10:22 am
What version of SQL Server are you using?
June 28, 2011 at 9:54 am
Tables that you will Output Into cannot have foreign key constraints, nor can they be referenced by foreign key constraints. There are other rules as well. The MSDN...
June 28, 2011 at 9:53 am
Viewing 15 posts - 3,871 through 3,885 (of 14,953 total)