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
Series Generating Functions
To run remote host's application from our machine
Get Distinct values from comma separated values
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
Sorting of Alphanumeric Column
Precheck before increment a field
Regular expressions
Using keyword in Join condition
Enable services at different runlevel
Order by using user defined values for a field
No comments:
Post a Comment