Viewing 15 posts - 361 through 375 (of 1,217 total)
OK, I see that it works better now but there still seem to be some inconsistencies. You say that you do the matching from the side of TBLforMatching based on...
August 3, 2007 at 2:42 am
Huh... did you edit the post? I started working on it, and now I see there are 9 rows in table Matching, while there were only 8 when I copied...
August 3, 2007 at 2:34 am
Table variable is just a variable - not a table. You can't use DBCC , you can't use TRUNCATE TABLE... just SELECT, INSERT, UPDATE, DELETE. I know of no way...
August 2, 2007 at 3:38 am
Try to do what the error message suggests - add FROM clause:
update FSA_EXPORT_TEMP
set trading_partner = 'XXX'
FROM FSA_EXPORT_TEMP WITH (INDEX(index_name))
where reporting_date = @reporting_date
and fsa_le = @fsa_le
and transfer_le like '%%X'
and sp_id =@sp_id
I'm...
August 2, 2007 at 3:24 am
Thanks Remi... I wasn't really happy with the idea of multiple UNION, but didn't think of anything better at the moment. CASE was my second idea, but it just passed...
July 25, 2007 at 5:36 am
I suppose you have more than one row in the table... so you should have some key to know which row is which. If there isn't a natural primary key,...
July 25, 2007 at 5:19 am
Yes, this will work. However, you can't use it anywhere where a simple user (not admin) should start it manually - sp_makewebtask requires sysadmin role. That's also the only situation...
July 25, 2007 at 3:09 am
There is no danger of data loss from TEMPDB if you just regular way stop and start SQL Server. Tempdb contains only temporary objects, so if all processes stop, there...
July 25, 2007 at 1:21 am
It was fast because I'm using similar queries pretty often at work, to find out how many customers had "active" status during certain period.
You might need to change < to...
July 25, 2007 at 1:01 am
Try this... it might need some tweaking, I'm not 100% sure about your data structure - but the idea should be clear. We want all players that ENTERED the team...
July 24, 2007 at 9:17 am
alvaro,
you can use query in place of a table in another query. I like to do it in similar cases, because it seems to me more understandable and easier to...
July 24, 2007 at 9:01 am
I'm not sure I understand the requirement fully... so I'll try to describe it and you tell me where I'm wrong.
You have a table of persons, and a table which...
July 24, 2007 at 8:27 am
Just one idea right now... Was the web task created with sp_makewebtask using parameter @whentype=5?
July 24, 2007 at 8:16 am
I agree that test is the best way to find out.
I will not quote any authorities (true or would-be), but based on my experience, if the table is large...
July 13, 2007 at 5:39 am
Did you check there really is double CR? Maybe the rows are just too long to fit on one line of text, but the part that is wrapped to another...
July 13, 2007 at 5:32 am
Viewing 15 posts - 361 through 375 (of 1,217 total)