Viewing 15 posts - 1,021 through 1,035 (of 2,268 total)
At a guess, the likely reason is that one of the columns that you are joining on contains Char values and the other column in the join...
May 11, 2010 at 4:31 am
does it have to be in T-SQL ?
Random numbers are difficult for a computer the only way to get close to true random numbers is to mointor a random...
May 11, 2010 at 4:13 am
Elliott W (5/7/2010)
I don't think i agree with one of the points. You can direct rows into different transformation paths in SSIS.
Products that have been around a while tend...
May 10, 2010 at 3:59 am
Steve Jones - Editor (4/28/2010)
set identity_insert #aa on
insert into #aa(id) select 8
...
April 28, 2010 at 8:45 am
yes that will send you into a loop. try using sub query instead
select * from m_items where item_guid not in (select order_item_guid from m_o_items)
April 26, 2010 at 11:33 am
Is there a reason why you cant join the tables in the where clause?
April 26, 2010 at 11:12 am
1. yes it can cause fragmentation if the id is an index column
Rather than physically changing the data in the table, since the ids seem to have...
April 22, 2010 at 10:20 am
there are temp tables, cursors and a while loop. There must be a way to make this code a bit more efficent by using set based code.
From what i...
April 15, 2010 at 5:17 am
Why are you using a While Loop?
that part of the code looks fine as long as the variables are declared, can you post the entire code to the stored proc?
April 15, 2010 at 4:43 am
this is a double post, it makes it easier to help if you keep to one post
original
http://www.sqlservercentral.com/Forums/Topic902981-360-1.aspx
April 14, 2010 at 8:36 am
you should really have some indexes on the temp table perhaps on User and Application.
Can you post the actual execution plan for the stored proc?
April 14, 2010 at 8:20 am
AMITLSBU (4/12/2010)
MSC in (Information system)
These look like questions from INFO 101 not a masters level paper.
April 12, 2010 at 10:25 am
What country are the job offers in?
this will mean a lot to the answers, as I know in the UK and several other countries, Germany has been mentioned. ...
April 12, 2010 at 9:48 am
Thanks Paul,
We were playing around with them today and thought they may be useful, i guess it can be dangerous to use undocumented features and i would never...
April 12, 2010 at 8:19 am
Another way of deleting duplicates is to use the hidden row identifier %%LockRes%% to identify the individual rows
using the test data post previously
DELETE FROM #Duplicates
WHERE %%LockRes%%
NOT IN (
SELECT MIN(%%LockRes%%)...
April 12, 2010 at 7:53 am
Viewing 15 posts - 1,021 through 1,035 (of 2,268 total)