rajniyadav
asked on
Stored procedures and multiusers
First Question:
I am using interbase 6 with delphi 5. Now i want to create stored procedures for duplication checking and refrential integrity. I want to make some common stored procedure so that i can use one procedure for all the table. Is it possible? How?
Second Question:
With delphi 5 i am using sql server. To make my application multi uses what should i do. Any sites addresses or tips
answer asap :)
Rajni
I am using interbase 6 with delphi 5. Now i want to create stored procedures for duplication checking and refrential integrity. I want to make some common stored procedure so that i can use one procedure for all the table. Is it possible? How?
Second Question:
With delphi 5 i am using sql server. To make my application multi uses what should i do. Any sites addresses or tips
answer asap :)
Rajni
Instead of stored procedure you can use Query and you can build it at run time such as:
ibQuery1.SQL.Text:= 'select * from ' + Edit1.Text;
Motaz
ibQuery1.SQL.Text:= 'select * from ' + Edit1.Text;
Motaz
ASKER
kretzschmar
SQL server takes care of multiusers
but when we are running two application and two users are trying to modify the same record or when one user is modifying a record while some other user is deleting that record. Those kind of errors how to handle those.
SQL server takes care of multiusers
but when we are running two application and two users are trying to modify the same record or when one user is modifying a record while some other user is deleting that record. Those kind of errors how to handle those.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Second question about common store procedures this week!
VSF
www.victory.hpg.com.br
www.boatoda.hpg.com.br
VSF
www.victory.hpg.com.br
www.boatoda.hpg.com.br
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept answer from kretzschmar
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Paul (pnh73)
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Accept answer from kretzschmar
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Paul (pnh73)
EE Cleanup Volunteer
2. the sql-server takes care of multiuser-access, no need to do something special (excepts your grants and userlogins)
meikl ;-)