Forums
This topic is locked
procedure check then insert
Posted 07 Dec 2008 05:53:35
1
has voted
07 Dec 2008 05:53:35 saraa samir posted:
Hi i have table with three coulmns(name , phone , ishere as boolean)
i need to create procedure that check name if not exists insert anew record
& if exist delete the insert
thank u
Replies
Replied 10 Dec 2008 18:57:16
10 Dec 2008 18:57:16 Roddy Dairion replied:
1. Are you using PHP, ASP or something else with SQL to do this????
2. What if you have 2 john how does it work??
2. What if you have 2 john how does it work??
Replied 11 Dec 2008 01:16:26
11 Dec 2008 01:16:26 saraa samir replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
1. Are you using PHP, ASP or something else with SQL to do this????
2. What if you have 2 john how does it work??
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi Roddy
i am not using anything but sql
i already found the answer
thank u
1. Are you using PHP, ASP or something else with SQL to do this????
2. What if you have 2 john how does it work??
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi Roddy
i am not using anything but sql
i already found the answer
thank u