ac senthilkumar's blog
________________________________________________________________________________________
Tuesday, December 15, 2009
Selective insert from existing table
To insert entire fields,
INSERT
INTO
emp_new
SELECT
*
FROM
emp_old
To insert selective fields,
INSERT
INTO
emp_new (eno, age)
SELECT
eno,
age
FROM
emp_old
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Err: No entry for terminal type "unknown"; using dumb terminal settings.
Err: Unlock Login Keyring in Ubuntu 11.10 problem
quicktime demuxer not found in Ubuntu 11.10
Bulk Convert Office Documents into PDF using unoconv
Err: apt-get update not working
Wordpress to Blogger migration too easy..
Turn USB write protect flag off
Selective cell protection in Spreadsheet
Use of more than one table in update sql
No comments:
Post a Comment