Click here to Skip to main content
15,908,172 members
Home / Discussions / Database
   

Database

 
AnswerRe: Connect to server Pin
Paul Conrad9-Jun-07 11:03
professionalPaul Conrad9-Jun-07 11:03 
QuestionCRecordset for multi-table recordsets Pin
paulosuckow8-Jun-07 8:28
paulosuckow8-Jun-07 8:28 
Questiontop rows Pin
vasini8-Jun-07 7:30
vasini8-Jun-07 7:30 
AnswerRe: top rows Pin
Colin Angus Mackay8-Jun-07 9:13
Colin Angus Mackay8-Jun-07 9:13 
AnswerRe: top rows Pin
Harini N K10-Jun-07 19:33
Harini N K10-Jun-07 19:33 
QuestionSQL Server Speed Pin
3fonov8-Jun-07 3:23
3fonov8-Jun-07 3:23 
AnswerRe: SQL Server Speed Pin
Mike Dimmick8-Jun-07 9:20
Mike Dimmick8-Jun-07 9:20 
QuestionWhy this is faster? Pin
Arun.Immanuel8-Jun-07 2:33
Arun.Immanuel8-Jun-07 2:33 
Here are the 2 queries I tested for speed.

<br />
select replace(convert(nvarchar(10),getdate(),108),':','') <br />
from tblName


<br />
select replace(convert(nvarchar(10),getdate(),108),':','')*1<br />
from tblName


The former took 6 seconds and the latter took only 4 seconds.
The table tblName has around 5 lakhs of rows.

Confused | :confused: Confused | :confused: Confused | :confused:


Regards,
Arun Kumar.A

AnswerRe: Why this is faster? Pin
Colin Angus Mackay8-Jun-07 2:38
Colin Angus Mackay8-Jun-07 2:38 
JokeRe: Why this is faster? Pin
Rob Graham8-Jun-07 2:51
Rob Graham8-Jun-07 2:51 
GeneralRe: Why this is faster? Pin
Arun.Immanuel8-Jun-07 2:54
Arun.Immanuel8-Jun-07 2:54 
GeneralRe: Why this is faster? Pin
Arun.Immanuel8-Jun-07 2:52
Arun.Immanuel8-Jun-07 2:52 
GeneralRe: Why this is faster? Pin
andyharman8-Jun-07 3:38
professionalandyharman8-Jun-07 3:38 
GeneralRe: Why this is faster? Pin
Arun.Immanuel8-Jun-07 5:21
Arun.Immanuel8-Jun-07 5:21 
QuestionHow to alter table Pin
rzthebeginner8-Jun-07 2:21
rzthebeginner8-Jun-07 2:21 
AnswerRe: How to alter table Pin
Arun.Immanuel8-Jun-07 2:37
Arun.Immanuel8-Jun-07 2:37 
AnswerRe: How to alter table Pin
Rob Graham8-Jun-07 3:02
Rob Graham8-Jun-07 3:02 
QuestionSQL Connection DialogBox Pin
ScottM18-Jun-07 2:05
ScottM18-Jun-07 2:05 
Questionmeaning of @ in sql Pin
emiralp8-Jun-07 1:44
emiralp8-Jun-07 1:44 
AnswerRe: meaning of @ in sql Pin
wout de zeeuw8-Jun-07 1:53
wout de zeeuw8-Jun-07 1:53 
AnswerRe: meaning of @ in sql Pin
kubben8-Jun-07 1:53
kubben8-Jun-07 1:53 
AnswerRe: meaning of @ in sql Pin
Colin Angus Mackay8-Jun-07 2:41
Colin Angus Mackay8-Jun-07 2:41 
GeneralRe: meaning of @ in sql Pin
Colin Angus Mackay8-Jun-07 2:40
Colin Angus Mackay8-Jun-07 2:40 
QuestionConnecting to the server Pin
taherjaorawala7-Jun-07 23:34
taherjaorawala7-Jun-07 23:34 
AnswerRe: Connecting to the server Pin
Paul Conrad8-Jun-07 10:07
professionalPaul Conrad8-Jun-07 10:07 

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.