Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One than one statement in an SQL Query

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need to add a field (ALTER statement)to a table then update(UPDATE statement) that new field.
Right now I have to use two seperate SQL queries to accomplish this. Is there a way I can write both statements
is the same query using SQL?

Thanks,
scotta
 

No, you can't do it. You can create a macro or module that will run the queries in succession if you need to automate the process in some way. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top