Hello,
I was hoping that someone on here could help me out. I am trying to write a little program that reads a form and then writes it to a DB. However, I would like to check to see if the table exist first if so use that table if not create the table.
kinda like
PSEUDO CODE
if(tableName == tableName){
SELECT TABLE
}else{
CREATE TABLE
}
I know I would have to loop through the DB to see what tables exist. I'm just unsure of the format and syntax.
Thanks for the help
N
I was hoping that someone on here could help me out. I am trying to write a little program that reads a form and then writes it to a DB. However, I would like to check to see if the table exist first if so use that table if not create the table.
kinda like
PSEUDO CODE
if(tableName == tableName){
SELECT TABLE
}else{
CREATE TABLE
}
I know I would have to loop through the DB to see what tables exist. I'm just unsure of the format and syntax.
Thanks for the help
N