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
quicktime demuxer not found in Ubuntu 11.10
Custom access denied error page for sites/default/files url in Apache
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Creating PostgreSQL filesytem
Series Generating Functions
Advanced SQL to fetch entire year deatail records
Apache authentication and authorization using LDAPS
Tips - Javascript
Err: Rewrite url not working in Ubuntu
PostgreSQL console commands
No comments:
Post a Comment