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
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Err: Unlock Login Keyring in Ubuntu 11.10 problem
Download cached flash videos of Firefox and Chrome in Linux(Ubuntu)
List file names with modified time stamp customized
Bulk rename using bash rename command
Crosstab based total calculation
Postgresql 9.x to 8.x restore issue with bytea field contains hex values
General shortcuts
Remove line numbers from source code using sed
No comments:
Post a Comment