Viewing 15 posts - 1,546 through 1,560 (of 1,957 total)
Because NULL is an undefined value (think infinity or dividing by 0).
IF you take an undefined value and perform an operation on it - how can it be anything but...
February 2, 2011 at 5:52 pm
Well, depending on your SETtings concatenating a NULL with a string yields a NULL.
If you want to change NULLS to 'Something' then use N'Something '+COALESCE(Unternehmen.Loeschvormerkung,'')
This will ensure you always get...
February 2, 2011 at 5:16 pm
Sorry , my mistake - I did indeed put the OUPUT clause in the wrong place - must be time to sleep!
So, you have triggers on there the - that...
February 2, 2011 at 4:58 pm
DECLARE @sql1 VARCHAR(MAX)
SET @sql1 = 'INSERT openquery(Test342011D, ''SELECT * from sched'') SELECT * FROM sched_repair '
select @sql1
EXEC(@sql1)
"VALUES" is only used for one row of constants/variables.
I would also recommend that you...
February 2, 2011 at 4:51 pm
Try this form:
The OUTPUT is just to show you what gets UPDATED and can be removed once you are happy.
The BEGIN TRAN and ROLLBACK are just in case it does...
February 2, 2011 at 4:38 pm
Ok, you are trying to look for a date in a string.
Here is the problem:
AND CD.DateCollected IN(@DateList)
@Datelist is an NVARCHAR (by the way, why waste processing time handling...
February 2, 2011 at 4:23 pm
Can you please explain what you are trying to achieve here?
I ask because currently you have an update on a table that is the LEFT OUTER part of a join,...
February 2, 2011 at 4:09 pm
ALTER USER [scott] WITH DEFAULT_SCHEMA=[scott]
February 2, 2011 at 4:00 pm
You haven't really given enough information there, but my guess is that you have a collation conflict between tempdb and your current database.
try specifying the collation that matches your current...
February 2, 2011 at 3:56 pm
Agreed they must be views (called tbl_. .. ?!?!?)
I did notice that the Actual row count coming from [VotaAntonio].[dbo].[IDQ_000acd57f2394d8a8ed291773efdab25] is different between the two queries...
February 1, 2011 at 9:35 am
Yes, I would say it is definitely possible to get different results for an undefined set based on DOP.
If you can post the actual execution plans for both queries it...
February 1, 2011 at 8:35 am
Hi,
You don't mention how you are ORDERing the queries , how you are restricting the results (WHERE) nor whether you are using TOP.
Can you clarify those points as they could...
February 1, 2011 at 6:42 am
MB-400824 (1/26/2011)
mister.magoo:...I assume that it was obvious in the execution plans, so I will make an effort to understand how to better read those.
Let me help you out with...
January 26, 2011 at 4:58 pm
Well, there is your problem - it's a 3GB table and you are trying to select * from it.
So, when you try it over the network you see NETWORK I/O...
January 26, 2011 at 11:59 am
Also, a few posts back you said SELECT * FROM ... returned 137 rows, now it is 19000 ? Please tell us exactly what you are doing otherwise we can't...
January 26, 2011 at 11:23 am
Viewing 15 posts - 1,546 through 1,560 (of 1,957 total)