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
PDOException: Invalid text representation
Err: Cannot unset string offsets in /form.inc on line 485
quicktime demuxer not found in Ubuntu 11.10
Internal field separator (IFS) for shell scripts
Selective cell protection in Spreadsheet
Flash Builder 4
Err: Wrong Datatype (#Value will be displayed)
Escape single and Double quotes while insert or update
Crosstab based total calculation
No comments:
Post a Comment