TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dillon More
NA
6
0
Updating Multiple columns using one SQL statement!!
Dec 15 2005 7:58 PM
Hello, I was wondering if Updating Multiple columns using one SQL statement is possible at all????
Here is a sample of what I'm trying to do, and it's me a compiler error " two many character in character literal".
string strUpdate = "UPDATE TranObjProperty, TranObjPropValue SET TranObjProperty.Name ='" + strName, TranObjPropValue
.Value ='" + strValue + "' where TOID="+id
;
It's basically erroring out right after the "DOT" operator in TranObjPropValue.Value
(highlighted in red)
and then the rest of the string is all highlighted in red as well. THe compiler error again is " "two many character in character literal".
Can some one please help???
Thanks
Dillon More
Reply
Answers (
1
)
Oracle - SYSDBA
Help needed: Dinamically create PostgreSQL database via ODBC