Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

insertion

This is a discussion on insertion within the MY SQL forums, part of the Databases category; oracle: insert into emp(empid ename) values(&empid,'&ename'); this is the statement to insert values dynamically in oracle. how can I do this in mysql....

Go Back   Geeks Talk > Databases > MY SQL
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 02-11-2009
Junior Member
 
Join Date: Jul 2007
Location: hyderabad
Posts: 12
Thanks: 0
Thanked 3 Times in 2 Posts
bashasi16 is on a distinguished road
insertion

oracle:
insert into emp(empid ename) values(&empid,'&ename');
this is the statement to insert values dynamically in oracle.
how can I do this in mysql.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-11-2009
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,853
Thanks: 9
Thanked 168 Times in 142 Posts
debasisdas has a spectacular aura aboutdebasisdas has a spectacular aura about
Re: insertion

your oracle syntax itself is wrong.
Reply With Quote
  #3 (permalink)  
Old 03-23-2009
Junior Member
 
Join Date: Mar 2009
Location: Hyderabad
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
venkat.pamidi is on a distinguished road
Re: insertion

No, in mysql you cann't provide data dynamically, you have user always insert into emp(empid, ename) values(1,'ename');
Reply With Quote
  #4 (permalink)  
Old 03-23-2009
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,853
Thanks: 9
Thanked 168 Times in 142 Posts
debasisdas has a spectacular aura aboutdebasisdas has a spectacular aura about
Re: insertion

Quote:
Originally Posted by venkat.pamidi View Post
No, in mysql you cann't provide data dynamically, you have user always insert into emp(empid, ename) values(1,'ename');
are you sure of that ?

i don't think so.
Reply With Quote
Reply

  Geeks Talk > Databases > MY SQL

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
SQL, Compare then update a field after insertion talalmanaa SQL 1 01-19-2008 03:38 AM
Can I manipulate in terms of insertion in an online grid? Geek_Guest ASP.NET 0 07-13-2007 11:55 PM


All times are GMT -4. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved