Click here to Skip to main content
15,887,907 members
Home / Discussions / Database
   

Database

 
QuestionRe: get the data from two tables Pin
Peter Leow25-Nov-13 21:03
professionalPeter Leow25-Nov-13 21:03 
AnswerRe: get the data from two tables Pin
Mycroft Holmes25-Nov-13 23:10
professionalMycroft Holmes25-Nov-13 23:10 
AnswerRe: get the data from two tables Pin
Eddy Vluggen26-Nov-13 8:04
professionalEddy Vluggen26-Nov-13 8:04 
Question5146 Error message: Invalid object name '#TmpTable'. Pin
vkEE25-Nov-13 9:53
vkEE25-Nov-13 9:53 
GeneralRe: 5146 Error message: Invalid object name '#TmpTable'. Pin
Peter Leow25-Nov-13 21:26
professionalPeter Leow25-Nov-13 21:26 
AnswerRe: 5146 Error message: Invalid object name '#TmpTable'. Pin
Eddy Vluggen26-Nov-13 7:57
professionalEddy Vluggen26-Nov-13 7:57 
GeneralRe: 5146 Error message: Invalid object name '#TmpTable'. Pin
vkEE26-Nov-13 8:31
vkEE26-Nov-13 8:31 
AnswerRe: 5146 Error message: Invalid object name '#TmpTable'. Pin
Eddy Vluggen27-Nov-13 8:05
professionalEddy Vluggen27-Nov-13 8:05 
vkEE wrote:
<layer>our seniors want this matter researched since it is a new bug in their test environment. They don't want this bug to migrate to production environment.
Unless you are in full control of your environment and able to debug every device-driver, some bugs will remain unsolved.

vkEE wrote:
It has crashed 3 times the past few months
Do you know at what time? Anything in the event-log at that specific time? Does it run under .NET 4? If yes, you could consider making a minidump.

vkEE wrote:
and it is defined with single hash, #.
I was hinting at researching the three. Whether it's the correct one will depend on the context of it's use in the stored procedure. You will have to verify the things mentioned, and again, you'd get a more usefull answer if you provide the code for the stored procedure.

MSDN[^] states:
There are two types of temporary tables: local and global. They differ from each other in their names, their visibility, and their availability. Local temporary tables have a single number sign (#) as the first character of their names; they are visible only to the current connection for the user, and they are deleted when the user disconnects from the instance of SQL Server. Global temporary tables have two number signs (##) as the first characters of their names; they are visible to any user after they are created, and they are deleted when all users referencing the table disconnect from the instance of SQL Server.
..and it becomes more confusing[^] if you are EXECUTEing dynamic SQL.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

AnswerRe: 5146 Error message: Invalid object name '#TmpTable'. Pin
jschell26-Nov-13 8:34
jschell26-Nov-13 8:34 
Question[Oracle] Create Index Online Vs Create Index Pin
Schehaider_Aymen24-Nov-13 22:04
Schehaider_Aymen24-Nov-13 22:04 
AnswerRe: [Oracle] Create Index Online Vs Create Index Pin
Jörgen Andersson25-Nov-13 10:17
professionalJörgen Andersson25-Nov-13 10:17 
Questionerror in sql server 2008 Pin
jojoba201123-Nov-13 22:52
jojoba201123-Nov-13 22:52 
AnswerRe: error in sql server 2008 Pin
Mycroft Holmes24-Nov-13 11:57
professionalMycroft Holmes24-Nov-13 11:57 
GeneralRe: error in sql server 2008 Pin
Richard Deeming25-Nov-13 2:19
mveRichard Deeming25-Nov-13 2:19 
AnswerRe: error in sql server 2008 Pin
Richard Deeming25-Nov-13 2:22
mveRichard Deeming25-Nov-13 2:22 
GeneralRe: error in sql server 2008 Pin
Jörgen Andersson25-Nov-13 10:24
professionalJörgen Andersson25-Nov-13 10:24 
AnswerSolved! Pin
jojoba201126-Nov-13 18:53
jojoba201126-Nov-13 18:53 
QuestionDynamic Stored Procedure Pin
Commish1322-Nov-13 13:56
professionalCommish1322-Nov-13 13:56 
AnswerRe: Dynamic Stored Procedure Pin
PIEBALDconsult22-Nov-13 14:15
mvePIEBALDconsult22-Nov-13 14:15 
GeneralRe: Dynamic Stored Procedure Pin
Commish1323-Nov-13 5:07
professionalCommish1323-Nov-13 5:07 
GeneralRe: Dynamic Stored Procedure Pin
jschell23-Nov-13 11:16
jschell23-Nov-13 11:16 
GeneralRe: Dynamic Stored Procedure Pin
Commish1323-Nov-13 13:17
professionalCommish1323-Nov-13 13:17 
GeneralRe: Dynamic Stored Procedure Pin
jschell25-Nov-13 7:48
jschell25-Nov-13 7:48 
AnswerRe: Dynamic Stored Procedure Pin
GuyThiebaut24-Nov-13 6:03
professionalGuyThiebaut24-Nov-13 6:03 
AnswerRe: Dynamic Stored Procedure Pin
Dusara Maulik26-Nov-13 18:55
Dusara Maulik26-Nov-13 18:55 

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.