Viewing 15 posts - 2,296 through 2,310 (of 3,221 total)
Been fooling with this ever since my last post and this may be more complicated than it need be but it will handle input such as
1. 'ab 2/2/2009 Adjustment...
November 20, 2009 at 2:31 pm
This may set your thinking onto the correct track
DECLARE @Something VARCHAR(max)
SET @Something = '2/2/2009 Adjustment made...'
SELECT SUBSTRING(@Something,1,CHARINDEX(' ', LTRIM(@Something))-1) AS 'Date'
Which will return 2/2/2009 - now the weakness of what...
November 20, 2009 at 1:02 pm
Is this what you are looking for?
SELECT entry AS ' ', SUM(Entryid) AS ' ' FROM foobarVille GROUP BY entry
November 20, 2009 at 11:57 am
Use Books On Line:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/ac7e4c7c-e52f-4883-8f3c-9336cc77a9c8.htm
And it will show you how to handle auto-statistics creation and updatting. Both Create Auto statistics and update auto statistic is by defaul set to...
November 20, 2009 at 11:49 am
Go to this support page:
http://support.microsoft.com/kb/827422
Note If you are connecting to a named instance of SQL Server, make sure that you are running MDAC 2.6 or later on your computer. Earlier...
November 19, 2009 at 5:08 pm
as the company I currently work at insists on prefixing all their stored procedures with "sp"...
If memory serves me correctly .............
Is that an sp_somename (underscore after the sp)....
November 19, 2009 at 4:08 pm
Having recently gotten my brains beat out, my integrity questioned, my intelligence derided and other wise vilified (Refer to the QOD 11/17/2009 forum). I am greatly surprised that...
November 19, 2009 at 12:07 pm
Just a suggestion have you run these queries in SSMS and displayed the actual / estimated execution plans?. And since your request is for improving performance please post following...
November 18, 2009 at 1:01 pm
Viewing 15 posts - 2,296 through 2,310 (of 3,221 total)