penguinspeaks
Technical User
This is a basic question I am sure but do not know the answer nor can I find it while searching.
If I have tables based on numbers: table_1, table_2, table_3
I want to update a specific table based on a variable that will indicate which table to update.
For example, if
mytable_id = 3 and I wish to update this table, how would I write the sql?
strSQL = "update table_&mytable_id& set test_ = 4" obviously does not work. I need the syntax for the table_(variable) to make this work please.
THanks
Bam
If I have tables based on numbers: table_1, table_2, table_3
I want to update a specific table based on a variable that will indicate which table to update.
For example, if
mytable_id = 3 and I wish to update this table, how would I write the sql?
strSQL = "update table_&mytable_id& set test_ = 4" obviously does not work. I need the syntax for the table_(variable) to make this work please.
THanks
Bam