dbTalk Databases Forums  

Doubt in sql server

comp.databases comp.databases


Discuss Doubt in sql server in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Santhalakshmi.k@gmail.com
 
Posts: n/a

Default Doubt in sql server - 04-01-2008 , 02:33 AM






which statement will take more processing time in SQL Server?
(A) Insert
(b) Update

Reply With Quote
  #2  
Old   
Ed Prochak
 
Posts: n/a

Default Re: Doubt in sql server - 04-01-2008 , 08:21 AM






On Apr 1, 3:33 am, Santhalakshm... (AT) gmail (DOT) com wrote:
Quote:
which statement will take more processing time in SQL Server?
(A) Insert
(b) Update
The usual way to answer performance questions is to test it.
so please go do your homework.


Reply With Quote
  #3  
Old   
Ed Prochak
 
Posts: n/a

Default Re: Doubt in sql server - 04-01-2008 , 08:21 AM



On Apr 1, 3:33 am, Santhalakshm... (AT) gmail (DOT) com wrote:
Quote:
which statement will take more processing time in SQL Server?
(A) Insert
(b) Update
The usual way to answer performance questions is to test it.
so please go do your homework.


Reply With Quote
  #4  
Old   
Ed Prochak
 
Posts: n/a

Default Re: Doubt in sql server - 04-01-2008 , 08:21 AM



On Apr 1, 3:33 am, Santhalakshm... (AT) gmail (DOT) com wrote:
Quote:
which statement will take more processing time in SQL Server?
(A) Insert
(b) Update
The usual way to answer performance questions is to test it.
so please go do your homework.


Reply With Quote
  #5  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Doubt in sql server - 04-01-2008 , 08:18 PM



Santhalakshmi.k (AT) gmail (DOT) com wrote:

Quote:
which statement will take more processing time in SQL Server?
(A) Insert
(b) Update
Ed's answer is good, but try drop table. It will make the
subsequent insert and update statements for that table run much
faster.

Yes, I think you should do your own homework, too.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #6  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Doubt in sql server - 04-01-2008 , 08:18 PM



Santhalakshmi.k (AT) gmail (DOT) com wrote:

Quote:
which statement will take more processing time in SQL Server?
(A) Insert
(b) Update
Ed's answer is good, but try drop table. It will make the
subsequent insert and update statements for that table run much
faster.

Yes, I think you should do your own homework, too.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #7  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Doubt in sql server - 04-01-2008 , 08:18 PM



Santhalakshmi.k (AT) gmail (DOT) com wrote:

Quote:
which statement will take more processing time in SQL Server?
(A) Insert
(b) Update
Ed's answer is good, but try drop table. It will make the
subsequent insert and update statements for that table run much
faster.

Yes, I think you should do your own homework, too.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.