Click here to Skip to main content
15,900,461 members
Home / Discussions / Database
   

Database

 
QuestionSql Query Pin
A.K.Kushwaha21-Mar-07 21:48
A.K.Kushwaha21-Mar-07 21:48 
AnswerRe: Sql Query Pin
Krish - KP21-Mar-07 21:59
Krish - KP21-Mar-07 21:59 
Questionsql import command Pin
bhawna_k21-Mar-07 20:58
bhawna_k21-Mar-07 20:58 
AnswerRe: sql import command Pin
N a v a n e e t h21-Mar-07 21:28
N a v a n e e t h21-Mar-07 21:28 
AnswerRe: sql import command Pin
N a v a n e e t h21-Mar-07 21:30
N a v a n e e t h21-Mar-07 21:30 
AnswerRe: sql import command Pin
Krish - KP21-Mar-07 21:41
Krish - KP21-Mar-07 21:41 
AnswerRe: sql import command Pin
coolestCoder21-Mar-07 22:15
coolestCoder21-Mar-07 22:15 
QuestionTemporary Tables - SQL Stored Procedures Pin
N a v a n e e t h21-Mar-07 20:10
N a v a n e e t h21-Mar-07 20:10 
What is your opinion about using temporary tables in SQL Server stored procedure. Is it a good practice ?

If yes consider the following

1. I am using temporary tables in stored procedure and accessing this procedure from ASP.NET page. If more than one user came to the page at same time, it is showing table already exist error. But I have read that SQL Server will attach some timestamp or some session value with the temporary table name what we given. Then there is no chance or getting this error. But still I am getting the error. Where am I going wrong ?

To solve this error I am passing the session id from page and appending that with the table name. Is it the rite way to overcome this problem ?

If no

1. Then what is the alternate solution for temporary tables ?

I am totally Confused | :confused:



printf("Navaneeth!!")

www.w3hearts.com

AnswerRe: Temporary Tables - SQL Stored Procedures Pin
Harini N K21-Mar-07 20:37
Harini N K21-Mar-07 20:37 
GeneralRe: Temporary Tables - SQL Stored Procedures Pin
N a v a n e e t h21-Mar-07 21:26
N a v a n e e t h21-Mar-07 21:26 
GeneralRe: Temporary Tables - SQL Stored Procedures Pin
Krish - KP22-Mar-07 0:30
Krish - KP22-Mar-07 0:30 
AnswerRe: Temporary Tables - SQL Stored Procedures Pin
Krish - KP21-Mar-07 21:33
Krish - KP21-Mar-07 21:33 
GeneralRe: Temporary Tables - SQL Stored Procedures Pin
N a v a n e e t h22-Mar-07 0:29
N a v a n e e t h22-Mar-07 0:29 
GeneralRe: Temporary Tables - SQL Stored Procedures Pin
M.H.1.2.322-Mar-07 9:10
M.H.1.2.322-Mar-07 9:10 
AnswerRe: Temporary Tables - SQL Stored Procedures Pin
Colin Angus Mackay21-Mar-07 22:42
Colin Angus Mackay21-Mar-07 22:42 
QuestionRe: Temporary Tables - SQL Stored Procedures Pin
N a v a n e e t h22-Mar-07 0:23
N a v a n e e t h22-Mar-07 0:23 
AnswerRe: Temporary Tables - SQL Stored Procedures Pin
Colin Angus Mackay22-Mar-07 0:29
Colin Angus Mackay22-Mar-07 0:29 
AnswerRe: Temporary Tables - SQL Stored Procedures Pin
N a v a n e e t h22-Mar-07 0:34
N a v a n e e t h22-Mar-07 0:34 
GeneralRe: Temporary Tables - SQL Stored Procedures Pin
AskSharp22-Mar-07 8:30
AskSharp22-Mar-07 8:30 
QuestionMove to previous recors Pin
hamid_m21-Mar-07 8:19
hamid_m21-Mar-07 8:19 
AnswerRe: Move to previous recors Pin
N a v a n e e t h21-Mar-07 20:18
N a v a n e e t h21-Mar-07 20:18 
GeneralRe: Move to previous recors Pin
hamid_m21-Mar-07 20:38
hamid_m21-Mar-07 20:38 
GeneralRe: Move to previous recors Pin
Colin Angus Mackay21-Mar-07 23:48
Colin Angus Mackay21-Mar-07 23:48 
GeneralRe: Move to previous recors Pin
hamid_m22-Mar-07 6:16
hamid_m22-Mar-07 6:16 
GeneralRe: Move to previous recors Pin
Mairaaj Khan22-Mar-07 10:44
professionalMairaaj Khan22-Mar-07 10:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.