Click here to Skip to main content
15,891,976 members
Home / Discussions / Database
   

Database

 
GeneralRe: Converting Datatype from float to decimal...... Pin
Ennis Ray Lynch, Jr.24-Feb-09 3:54
Ennis Ray Lynch, Jr.24-Feb-09 3:54 
QuestionProblem on sql server 2005 SP2 :Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum Pin
Rami Said Abd Alhalim23-Feb-09 19:45
Rami Said Abd Alhalim23-Feb-09 19:45 
QuestionRe: Problem on sql server 2005 SP2 :Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum Pin
Andy_L_J23-Feb-09 20:59
Andy_L_J23-Feb-09 20:59 
AnswerRe: Problem on sql server 2005 SP2 :Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum Pin
Rami Said Abd Alhalim23-Feb-09 21:49
Rami Said Abd Alhalim23-Feb-09 21:49 
QuestionI want your idear and solving !!! Pin
Golden Jing23-Feb-09 17:58
Golden Jing23-Feb-09 17:58 
AnswerRe: I want your idear and solving !!! Pin
Wendelius23-Feb-09 18:11
mentorWendelius23-Feb-09 18:11 
GeneralRe: I want your idear and solving !!! Pin
Golden Jing23-Feb-09 21:44
Golden Jing23-Feb-09 21:44 
QuestionCannot use temporary table twice Pin
MarcelloTurnbull23-Feb-09 7:37
MarcelloTurnbull23-Feb-09 7:37 
I get the next error message from MS SQL 2000:

"There is already an object named '#Teste' in the database."

DECLARE @x int

SET @x = 5

IF @x > 1

SELECT IDField1
INTO #Teste
FROM Table1

ELSE

SELECT IDField2
INTO #Teste
FROM Table1

(...)


The snippet code above is just an example. I cannot use another temporary table name because the following code must reference #Teste only.

Do you know a solution ?

Thanks

Marcello Turnbull
AnswerRe: Cannot use temporary table twice Pin
Ennis Ray Lynch, Jr.23-Feb-09 8:08
Ennis Ray Lynch, Jr.23-Feb-09 8:08 
AnswerRe: Cannot use temporary table twice Pin
Wendelius23-Feb-09 8:40
mentorWendelius23-Feb-09 8:40 
GeneralRe: Cannot use temporary table twice Pin
MarcelloTurnbull23-Feb-09 8:46
MarcelloTurnbull23-Feb-09 8:46 
GeneralRe: Cannot use temporary table twice Pin
Wendelius23-Feb-09 8:49
mentorWendelius23-Feb-09 8:49 
GeneralRe: Cannot use temporary table twice Pin
MarcelloTurnbull23-Feb-09 9:08
MarcelloTurnbull23-Feb-09 9:08 
GeneralRe: Cannot use temporary table twice Pin
Wendelius23-Feb-09 9:14
mentorWendelius23-Feb-09 9:14 
GeneralRe: Cannot use temporary table twice Pin
MarcelloTurnbull23-Feb-09 9:29
MarcelloTurnbull23-Feb-09 9:29 
GeneralRe: Cannot use temporary table twice Pin
Wendelius23-Feb-09 9:47
mentorWendelius23-Feb-09 9:47 
AnswerRe: Cannot use temporary table twice Pin
MarcelloTurnbull25-Feb-09 2:31
MarcelloTurnbull25-Feb-09 2:31 
GeneralRe: Cannot use temporary table twice Pin
Wendelius25-Feb-09 4:42
mentorWendelius25-Feb-09 4:42 
QuestionSQL 2000 Code/Update Deployment Pin
cjb11023-Feb-09 2:23
cjb11023-Feb-09 2:23 
AnswerRe: SQL 2000 Code/Update Deployment Pin
Wendelius23-Feb-09 8:45
mentorWendelius23-Feb-09 8:45 
QuestionSQL Server 2000: Login failed for user ' ' [modified] Pin
Nada Adel23-Feb-09 1:07
Nada Adel23-Feb-09 1:07 
AnswerRe: SQL Server 2000: Login failed for user ' ' Pin
Rob Philpott23-Feb-09 1:37
Rob Philpott23-Feb-09 1:37 
GeneralRe: SQL Server 2000: Login failed for user ' ' Pin
Nada Adel23-Feb-09 2:33
Nada Adel23-Feb-09 2:33 
GeneralRe: SQL Server 2000: Login failed for user ' ' Pin
Rob Philpott23-Feb-09 2:57
Rob Philpott23-Feb-09 2:57 
GeneralRe: SQL Server 2000: Login failed for user ' ' Pin
Nada Adel23-Feb-09 3:08
Nada Adel23-Feb-09 3:08 

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.