Viewing 15 posts - 976 through 990 (of 1,162 total)
Your question is quite vague, but here is a good place to start:
http://msdn.microsoft.com/en-us/library/a1904w6t.aspx
Also have a look here:
August 6, 2010 at 9:55 am
Actually, you could have the same data, but you're for example using this function in a where clause along with other criteria and one execution plan is hitting a row...
August 5, 2010 at 9:50 am
You would need to convert the result of the datediff to a BIGINT before multiplying by 60...these must be long assignments!
E.g.:
ABS(CONVERT(BIGINT,DateDiff(mi, s.dteCrtTS, s.dteAssignEndTS))*60)
If both data types are datetime, then there...
August 5, 2010 at 9:42 am
What are the data types of the two input columns in your datediff?
August 5, 2010 at 9:05 am
FYI, the problem with the code posted is that you have single quotes around dates in your string - as single quotes signify the end of your string, you have...
August 5, 2010 at 7:43 am
August 5, 2010 at 7:27 am
Depending on how often you perform updates to Filestream objects, you should bear in mind that all FILESTREAM objects that have been updated since the last full backup will be...
August 5, 2010 at 6:11 am
This is probably a good place to start:
http://www.sqlteam.com/article/scripting-database-objects-using-smo-updated
It's for 2005, but is applicable to 2008 as well (although you'll want to reference the 2008 dll's in your project).
It gives an...
August 4, 2010 at 6:31 am
Things I usually check on a client site are:
Tempdb and other system databases on the C: drive - these can (and should) be moved away from the system partition
The Windows...
August 3, 2010 at 5:21 am
You can find most of the information in the sys.servers view to build a script for this.
Otherwise you could use SMO to script this programatically.
If they are static, you...
August 2, 2010 at 8:16 am
Well, your requirements are well within the limitations of SQL Server Express edition, (the R2 version supports up to 10GB) so is it an option to install this on the...
July 30, 2010 at 10:29 am
Confirmed:
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
Msg 0, Level 20, State 0, Line 0
A...
July 30, 2010 at 9:36 am
Phil Henry (7/30/2010)
thanks for your offer to look at yr blogs . A full disc was the first thing I looked for - but that wasnt the issue.
He...
July 30, 2010 at 5:02 am
Assuming you're connecting to the correct server, are you using 2005 or 2008 BIDS? The version of the SQL Client provider that ships with 2005 isn't compatible with the merge...
July 30, 2010 at 3:59 am
Doesn't really answer why you need one particular metric to be below an arbitrary number...
Could you post the actual execution plan, otherwise we're all guessing.
Couple of obvious things, but:
1. Could...
July 28, 2010 at 4:31 am
Viewing 15 posts - 976 through 990 (of 1,162 total)