Viewing 15 posts - 21,346 through 21,360 (of 26,484 total)
I may be wrong, nothing available to do any testing, but isn't this the equivalent of the code you originally posted above?
SELECT
M.MainTableID,
M.PageName,
...
April 27, 2009 at 12:14 pm
Here is another method:
create table #Orders (
OrderNum int,
LineNum int,
Product varchar(10),
Result varchar(25)
)
;
insert into #Orders
select 1,1,'ABC',null...
April 27, 2009 at 11:50 am
aaronxramirez (4/27/2009)
April 27, 2009 at 11:35 am
Samuel Vella (4/27/2009)
Steve Jones - Editor (4/27/2009)
April 27, 2009 at 10:30 am
Here is an example of how to use the STUFF...FOR XML using the example from AdventureWorks:
Set NoCount On;
Declare @cpu_ int;
Declare @lreads_ int;
Declare @eMsec_ int;
Select
@cpu_ = cpu_time,
...
April 27, 2009 at 10:28 am
ALZDBA (4/27/2009)
First findings .... It no longer works .... SQL2008 ( sp1...
April 27, 2009 at 7:48 am
Very good article. In fact, I'm thinking of printing each of the articles in the series and providing them to my team as required reading.
The test harness you have...
April 26, 2009 at 10:10 pm
RBarryYoung (4/26/2009)
For anyone who has been wondering where I've been, let's jsut say that it has been an eventful two weeks. I am writing this now from...
April 26, 2009 at 3:22 pm
Bob Hovious (4/25/2009)
1. Create temporary table "A"
2. Populate it with base ids
3. Query table "B" and update one...
April 25, 2009 at 11:47 pm
Florian Reischl (4/25/2009)
New information from splitter front... 🙂
As first I have to apologize for all those "great" CLR test results... Since I tried to reduce the test results to the...
April 25, 2009 at 6:51 am
manohar (4/24/2009)
Will it be extra overhead if I create indexes on temporary tables..??
As that procedure will be frequently used ..... Temporary table will be created and deleted,. Indexes will...
April 24, 2009 at 10:50 pm
Jeff Moden (4/24/2009)
Lynn Pettis (4/24/2009)
April 24, 2009 at 2:06 pm
Jeff, Do you have access to SQL Server 2008? At the SSWUGvConference I heard the the ORDER BY "may be" honored again in the UPDATE statement. I don't...
April 24, 2009 at 1:21 pm
As this is done inside a stored procedure, I'd drop using a table variable and use a temporary table instead. If there are a large number of records in...
April 23, 2009 at 10:30 pm
Be sure to post your final solution. It may help others with a similar issue/problem.
April 23, 2009 at 4:02 pm
Viewing 15 posts - 21,346 through 21,360 (of 26,484 total)