Click here to Skip to main content
15,894,343 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL type statements without a connection Pin
Mike Dimmick24-Sep-07 5:08
Mike Dimmick24-Sep-07 5:08 
Questionproblem with create trigger Pin
Mohammed Elkholy24-Sep-07 2:28
Mohammed Elkholy24-Sep-07 2:28 
AnswerRe: problem with create trigger Pin
kubben24-Sep-07 8:07
kubben24-Sep-07 8:07 
GeneralRe: problem with create trigger Pin
Mohammed Elkholy24-Sep-07 9:29
Mohammed Elkholy24-Sep-07 9:29 
GeneralRe: problem with create trigger Pin
kubben24-Sep-07 10:49
kubben24-Sep-07 10:49 
AnswerRe: problem with create trigger Pin
joemonvarghese24-Sep-07 20:31
joemonvarghese24-Sep-07 20:31 
QuestionDifference between Delete and Truncate? Pin
ganeshMohan23-Sep-07 20:43
ganeshMohan23-Sep-07 20:43 
AnswerRe: Difference between Delete and Truncate? Pin
John-ph23-Sep-07 21:18
John-ph23-Sep-07 21:18 
Delete and Truncate performs Identical tasks. but there are differences...

Delete is a DML command used to delete a particular record or some set of Records based on the WHERE-Clause. And It can also Delete all the Records when there is no WHERE-Clause specified. The Delete operation performed using Delete Command can be Rolled Back.

Truncate is a DDL Command used to delete all the Reocrds from the Table and also it Reinitializes the Table. Primary Key Identity values will be regenerated from the initial value for the subsequent entries after deleting all reocrds. WHERE-Clause can't be used in Truncate Command. The Delete operation performed using Truncate Command can't be Rolled Back.

Truncate is much faster than Delete

Note : Truncate = Delete + Commit

Regards
J O H N Rose | [Rose]

"Even eagles need a push." David McNally

GeneralRe: Difference between Delete and Truncate? Pin
Pete O'Hanlon23-Sep-07 22:30
mvePete O'Hanlon23-Sep-07 22:30 
GeneralRe: Difference between Delete and Truncate? Pin
John-ph23-Sep-07 23:11
John-ph23-Sep-07 23:11 
GeneralRe: Difference between Delete and Truncate? Pin
Pete O'Hanlon23-Sep-07 23:29
mvePete O'Hanlon23-Sep-07 23:29 
GeneralRe: Difference between Delete and Truncate? Pin
kubben24-Sep-07 8:32
kubben24-Sep-07 8:32 
GeneralRe: Difference between Delete and Truncate? Pin
kubben24-Sep-07 8:35
kubben24-Sep-07 8:35 
GeneralRe: Difference between Delete and Truncate? Pin
ganeshMohan24-Sep-07 19:19
ganeshMohan24-Sep-07 19:19 
AnswerRe: Difference between Delete and Truncate? Pin
Mike Dimmick24-Sep-07 4:09
Mike Dimmick24-Sep-07 4:09 
AnswerRe: Difference between Delete and Truncate? Pin
Sathesh Sakthivel24-Sep-07 21:38
Sathesh Sakthivel24-Sep-07 21:38 
QuestionSQL Tuning Pin
Bad Programmer23-Sep-07 18:50
Bad Programmer23-Sep-07 18:50 
AnswerRe: SQL Tuning Pin
John-ph23-Sep-07 22:14
John-ph23-Sep-07 22:14 
QuestionRead Excel Sheet by oledb Pin
Rami Said Abd Alhalim23-Sep-07 2:16
Rami Said Abd Alhalim23-Sep-07 2:16 
AnswerRe: Read Excel Sheet by oledb Pin
Paul Conrad23-Sep-07 6:48
professionalPaul Conrad23-Sep-07 6:48 
GeneralRe: Read Excel Sheet by oledb Pin
Rami Said Abd Alhalim23-Sep-07 20:43
Rami Said Abd Alhalim23-Sep-07 20:43 
QuestionPassing data from stored procedure to windows applicaton Pin
Shajeel23-Sep-07 1:01
Shajeel23-Sep-07 1:01 
AnswerRe: Passing data from stored procedure to windows applicaton Pin
Mike Dimmick24-Sep-07 4:40
Mike Dimmick24-Sep-07 4:40 
GeneralRe: Passing data from stored procedure to windows applicaton Pin
Shajeel24-Sep-07 17:53
Shajeel24-Sep-07 17:53 
Questiondo i have to create a certificate if i need to encript the connection string Pin
prasadbuddhika23-Sep-07 0:37
prasadbuddhika23-Sep-07 0:37 

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.