Friday, 22 April 2016

Create backup table of a DB table


You can create a backup of table with data using AS clause, like : 

CREATE TABLE user_bkp 
AS SELECT * FROM user;

No comments:

Post a Comment

Note: only a member of this blog may post a comment.