LeonelSanchezJr
Programmer
If my application is being used by multiple users simultaneously, how can I prevent errors from occurring when two or more users try to run the same query?
I used to write my queries to temp tables, but then I was told that cursors are better. So if I use the same cursor name (let's say "CURSOR1"
in the application being used by multiple users, would that cause a problem if they all ran the same query?
What if I have to update the cursor? I can't do that, so would I must come up with a "unique" name for the temp table and update the temp table? I've used the SYS(2015) before and I only use the third character through to the 11th for a total of 8 characters.
I used to write my queries to temp tables, but then I was told that cursors are better. So if I use the same cursor name (let's say "CURSOR1"
What if I have to update the cursor? I can't do that, so would I must come up with a "unique" name for the temp table and update the temp table? I've used the SYS(2015) before and I only use the third character through to the 11th for a total of 8 characters.