Click here to Skip to main content
15,887,027 members
Home / Discussions / Database
   

Database

 
GeneralRe: Multi-client access: good practice Pin
pmarfleet4-Jan-08 13:03
pmarfleet4-Jan-08 13:03 
GeneralRe: Multi-client access: good practice Pin
Mike Dimmick4-Jan-08 13:45
Mike Dimmick4-Jan-08 13:45 
GeneralHelp with trigger please... Pin
Support1234-Jan-08 0:36
Support1234-Jan-08 0:36 
GeneralRe: Help with trigger please... Pin
pmarfleet4-Jan-08 1:14
pmarfleet4-Jan-08 1:14 
QuestionRe: Help with trigger please... Pin
Support1234-Jan-08 1:44
Support1234-Jan-08 1:44 
GeneralRe: Help with trigger please... Pin
pmarfleet4-Jan-08 2:08
pmarfleet4-Jan-08 2:08 
QuestionExecution Time for Query. Pin
Sasmi_Office3-Jan-08 23:17
Sasmi_Office3-Jan-08 23:17 
GeneralRe: Execution Time for Query. Pin
Colin Angus Mackay4-Jan-08 0:34
Colin Angus Mackay4-Jan-08 0:34 
I don't really see why the times could be significantly different for these two queries. Is the time difference repeatably consistent? (i.e. have you run this through several iterations to ensure that it isn't something like data being cached in memory, etc.)

What happens if you put the conversion of the string outside the SELECT in the second example:

DECLARE @date DATETIME
SELECT @date = CONVERT(DATETIME, '2008-01-04 00:00:00', 102)
SELECT * FROM View WHERE ([Date] = @date)



GeneralRe: Execution Time for Query. Pin
Michael Potter4-Jan-08 3:59
Michael Potter4-Jan-08 3:59 
GeneralSSIS package not executing on the server but runs fine on my computer... Pin
Support1233-Jan-08 20:29
Support1233-Jan-08 20:29 
GeneralRe: SSIS package not executing on the server but runs fine on my computer... Pin
pmarfleet3-Jan-08 22:17
pmarfleet3-Jan-08 22:17 
GeneralRe: SSIS package not executing on the server but runs fine on my computer... Pin
Support1234-Jan-08 0:32
Support1234-Jan-08 0:32 
GeneralRe: SSIS package not executing on the server but runs fine on my computer... Pin
pmarfleet4-Jan-08 1:11
pmarfleet4-Jan-08 1:11 
AnswerRe: SSIS package not executing on the server but runs fine on my computer... Pin
Reza Raad5-Jan-08 18:43
Reza Raad5-Jan-08 18:43 
GeneralRe: SSIS package not executing on the server but runs fine on my computer... Pin
pmarfleet5-Jan-08 23:49
pmarfleet5-Jan-08 23:49 
Generalsome help about sql internal architecture Pin
tasumisra3-Jan-08 17:09
tasumisra3-Jan-08 17:09 
GeneralRe: some help about sql internal architecture Pin
John_Adams4-Jan-08 2:03
John_Adams4-Jan-08 2:03 
GeneralINSERT INTO two tables at once Pin
john john mackey3-Jan-08 7:00
john john mackey3-Jan-08 7:00 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak3-Jan-08 14:30
mveDave Kreskowiak3-Jan-08 14:30 
GeneralRe: INSERT INTO two tables at once Pin
Support1233-Jan-08 20:40
Support1233-Jan-08 20:40 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak4-Jan-08 1:48
mveDave Kreskowiak4-Jan-08 1:48 
GeneralRe: INSERT INTO two tables at once Pin
john john mackey4-Jan-08 5:26
john john mackey4-Jan-08 5:26 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak4-Jan-08 5:58
mveDave Kreskowiak4-Jan-08 5:58 
GeneralRe: INSERT INTO two tables at once Pin
john john mackey4-Jan-08 7:27
john john mackey4-Jan-08 7:27 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak4-Jan-08 12:11
mveDave Kreskowiak4-Jan-08 12:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.