Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JDBC and Relational Databases
insert in mysql
nikki sinha
Greenhorn
Posts: 14
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i want to insert something like this in my row.
name email
aaa 'aaa@xyz.com','aaa@qwe.com'
i have tried this query but it gives an error
insert into table1 values('aaa',(' 'aaa@xyz.com','aaa@qwe.com''));
please suggest a proper query..
Vinod Tiwari
Ranch Hand
Posts: 466
1
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The syntax doesn't look correct - if you need to insert symbols that you have in your query then probably
you should
use escape characters. For syntax refer
this
link.
Vinod Tiwari
|
Twitter
|
Shikshanirman
|
Guftgu
Campbell Ritchie
Marshal
Posts: 79179
377
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
And why have you got two pairs of round brackets? I suspect )) at the end isn’t right.
Story like this gets better after being told a few times. Or maybe it's just a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to Start Tomcat in Eclipse?
Inserting constant values but not form values on html form on web using tomcat
JDBC & Access
string splitting
More...