Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / January 2005



Tip: Looking for answers? Try searching our database.

Update on a single line of code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Warren - 31 Jan 2005 18:17 GMT
I want to execute an update to SQL on a single line and I can't remeber how.
It seems that it was something like this:
Conn.execute "UPDATE table WHERE field = xxx
(fld1,fld2,fld3)value(val1,val2,val3)"
It's been a few years and my memory is not what it used to be.
Paul Clement - 31 Jan 2005 19:54 GMT
¤ I want to execute an update to SQL on a single line and I can't remeber how.
¤ It seems that it was something like this:
¤ Conn.execute "UPDATE table WHERE field = xxx
¤ (fld1,fld2,fld3)value(val1,val2,val3)"
¤ It's been a few years and my memory is not what it used to be.

UPDATE Table_3 SET Col1 = "testing", SET Col2="xxx", ... WHERE RecordID=1;

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Jim Warren - 31 Jan 2005 20:01 GMT
It just hit me, it was INSERT INTO that I was thinking about.
In the words of Emily Litella (Saturday Night Live) "Never mind"

> I want to execute an update to SQL on a single line and I can't remeber how.
> It seems that it was something like this:
> Conn.execute "UPDATE table WHERE field = xxx
> (fld1,fld2,fld3)value(val1,val2,val3)"
> It's been a few years and my memory is not what it used to be.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.