what kind of temp table in SQL Server
Jim Berg, August 17, 2017 - 1:45 pm UTC
I develop in both SQL Server and Oracle by necessity. I suspect that the poster is using multiple databases in SQL Server and is creating global temporary tables to make the data available outside the session that creates the temporary table. I would suggest that he create permanent tables to hold this data and truncate the tables at the start of the process. Depending on how many rows he is writing, one or more indexes may be beneficial.
And suggesting a cursor to a SQL Server developer needs a long explanation on the difference between locking in SQL Server and Oracle.
The actual question is really too vague to answer in any other way than it depends on what you are trying to do.
August 17, 2017 - 2:19 pm UTC
The actual question is really too vague to answer in any other way than it depends on what you are trying to do.
Well said.