WilliamMute007
Programmer
Hi am back again with my troubles guys,
not sure how to go about this, I want to check if a name exist in a DB table if not, then insert a name into the DB prior to further updating it.
i.e
not sure how to go about this, I want to check if a name exist in a DB table if not, then insert a name into the DB prior to further updating it.
i.e
Code:
Select star from tablename;
if { tablename.username = 'vee' DO something }
else { Insert into tablename.username = 'username'
}
[CODE]
How can I achieve such in SQL please? Thanks a bunch!