How to delete table rows data

0 views
Skip to first unread message

innocentumesh

unread,
Jan 8, 2013, 7:46:25 AM1/8/13
to phpgroup2...@googlegroups.com
I have used the following commands, 
DELETE From Movie;
SELECT * FROM Movie;
TRUNCATE TABLE Movie;


i need to clear all the data from the table "Movie" but i can't help as soon as possible.........................


Dhiraj Kumar Jha

unread,
Jan 8, 2013, 10:13:45 AM1/8/13
to innocentumesh, phpgroup2...@googlegroups.com

Dear Umesh,

we are yet to see update and delete queries,

 

DELETE FROM movie WHERE movie_id = 5  now the standard queries requires WHRE clause in UPDATE and DELETE.

 

TRUNCATE <table_name>    ;

 

is the command . Hhope your issue is solved.

 

Warm Regards,

Dhiraj Kumar Jha

Sr.  Web Developer, IT Trainer and Freelancer

http://www.softstuff4u.com.np

--
 
 

Reply all
Reply to author
Forward
0 new messages