Viewing 15 posts - 31 through 45 (of 149 total)
And if you'd like to see some test results: Cast vs Convert
A bit old,but i think still valid.
July 3, 2015 at 5:37 am
AND t.StartExport BETWEEN CAST(left(convert(varchar,CURRENT_TIMESTAMP,120),10)+' 00:01:00.000' AS DATETIME) AND CAST(left(convert(varchar,CURRENT_TIMESTAMP,120),10)+' 16:00:00.000' AS DATETIME)
July 3, 2015 at 5:32 am
Nice,failed due to the right justified result of STR.
June 30, 2015 at 3:35 am
Missed the missing ALL. Where is my coffee again?? 😀
June 12, 2015 at 2:23 am
In my opinion it's unimportant, if the other indexes are disabled or not. You can't reach the table data with a disabled clustered index.:-D
June 8, 2015 at 12:31 am
Link is already in my first post, but please: https://msdn.microsoft.com/en-us/library/ms187810.aspx
April 27, 2015 at 1:24 am
If we assume, that we have the latest SQL Server Version (2014), then an over by is required according to BOL (I can't try it yet)
OVER ( [ partition_by_clause ]...
April 26, 2015 at 11:53 am
Hmm. According to BOL, if OVER used with a SUM, then an order by clause is required...
April 26, 2015 at 1:25 am
Nice question!
The linked reference states: Because the xml data type methods cannot be used directly in creating computed columns...
April 14, 2015 at 3:31 am
Without running the code i thought, the variable declaration will throw an error.:-D
(Just to be sure: aren't we in the 21st century? :cool:)
March 23, 2015 at 1:17 am
The data seems to be in EDI X12 format. Maybe here you will find more details about it.
August 25, 2014 at 12:33 pm
Viewing 15 posts - 31 through 45 (of 149 total)