Viewing 15 posts - 3,196 through 3,210 (of 6,036 total)
And here is another good reason for existence check.
Because inner SP depends on #table it should terminate execution immediately if outer SP failed to create #table or inner SP got...
January 10, 2008 at 5:47 pm
Try to execute
SELECT DATALENGTH(Content), IsDownMaint
FROM dbo.ContentManagement
WHERE ContentID = @ContentID
Probably it's the size of ntext thing what gives you hard time.
Because you've got PK on the column, no...
January 10, 2008 at 3:23 pm
anytime I add a new column to one of the tables.
Does it happen often?
Man, you should rethink you approach to database design.
Changing schema must be a big event everybody...
January 10, 2008 at 2:53 pm
simon.letts (1/10/2008)
However we are currently testing against a limited set of rows so I will insist we...
January 10, 2008 at 2:36 pm
But when I tried to call a stored procedure to created the #temp table, that table name was not visible to subsequent statements within the same query. I can't...
January 10, 2008 at 12:56 pm
EdVassie (1/10/2008)
Lots of posts in thi sforum, but no-one has asked Arun why he wants to know if a #temp table exists already.
At least 2 of us described reasons for...
January 10, 2008 at 5:19 am
Jeremy,
there is no any point in wrapping each statement in a begin tran/commit block because they are transactions anyway.
And I would guess that was a typo.
I really doubt real tables...
January 9, 2008 at 9:35 pm
I mean executing all 3 statements in one go but without wrapping it in a procedure.
Just as you pasted it here.
January 9, 2008 at 3:54 pm
What happens if you execute those inserts in a batch?
January 9, 2008 at 3:34 pm
I believe "spooky" was about
SELECT * FROM SYSOBJECTS
WHERE name = '#MyTempTable'
And I have played a lot with applications used connection spooling recent years. No problems discovered.
But I do existence...
January 9, 2008 at 2:19 pm
In "Tables" tab right click, select "Link to Tables", in File Types select "ODBC Databases()" and follow instructions of the master.
January 9, 2008 at 3:42 am
Lynn, wrong because it returns biggest OrderID, not OrderId for the latest order,
In that test database you used it's just happened that OrderDate and OrdeID correlate, that's why your query...
January 8, 2008 at 7:53 pm
In MS Excel go to Data -> Import External Data -> New Database Query.
Follow instructions in the wizard to create a query to your database.
January 8, 2008 at 7:41 pm
assaf_levi (1/8/2008)
Hi!Lynn's latest code helped me get an idea of how to get myself started.
Lynn's code gives you absolutely wrong idea.
For your question Sergiy, assume that in case of duplicate...
January 8, 2008 at 7:26 pm
assaf_levi (1/8/2008)
Hi!There are some more constraints in my where clause, so only one record at most can come out per customer.
I understand you need 1 record per customer.
You did not...
January 8, 2008 at 4:51 pm
Viewing 15 posts - 3,196 through 3,210 (of 6,036 total)