Viewing 15 posts - 42,421 through 42,435 (of 49,566 total)
Bristolred (12/11/2008)
December 11, 2008 at 11:00 am
Please don't cross post. It just wastes peoples time and fragments replies.
No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic618052-1291-1.aspx
December 11, 2008 at 10:52 am
I can't see the full question, so I'm guessing a bit. If you're seeing the database marked 'in recovery' it's either a long restart-recovery, or a problem.
Can you get the...
December 11, 2008 at 10:32 am
Continued here: http://www.sqlservercentral.com/Forums/Topic617982-8-1.aspx
December 11, 2008 at 10:23 am
Josh Turley (12/11/2008)
I posted this in the noob forum too but I figured you might have better answers in here.
Please don't cross post. It just wastes peoples time and...
December 11, 2008 at 10:22 am
Seggerman (12/11/2008)
some of us are (sadly) monolingual and that language is American English
And even those who are not monolingual (British English and Afrikaans) may not understand the terms.
December 11, 2008 at 9:39 am
Philip Horan (12/11/2008)
However I am unable to use the WHERE clause when using a table alias i.e.
WHERE ParentProductId LIKE 'DME_%'
That's a column alias, not a table alias. The select clause,...
December 11, 2008 at 6:09 am
Can you post the table schemas, and the index definitions please?
How many rows is a lakh?
December 11, 2008 at 5:54 am
Back to the original problem.
There are two things causing the slowness.
First, the use of union. If you change all to union all, you'll get the same result (the resultsets can't...
December 11, 2008 at 5:51 am
I don't have your users table, and hence cannot reproduce your test. I tried one using similar queries and the temp table that I specified for an earlier test.
I ran...
December 11, 2008 at 5:21 am
Please don't cross post. It just wastes peoples time and fragments replies.
No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic617605-5-1.aspx
December 11, 2008 at 5:08 am
mzakwans (12/11/2008)
hithanks
but I have tried it without delete and every time I do change on exist record it adds all record to the tb2 again
Have you referenced the...
December 11, 2008 at 5:03 am
I'm still not understanding what you want.
The most recent query?
The most recent data change?
Something else?
Best bet to get any of that is to have a profiler trace running for any...
December 11, 2008 at 4:39 am
arup_kc (12/11/2008)
It's showing that it takes 17 ms while using "SELECT *" but only 1 ms while using "SELECT 1"
Well, yes. For the first one, the data has to be...
December 11, 2008 at 4:39 am
Peso (12/11/2008)
Haven't anyone noticed that column alias SOURCENAME has different values for the two UNIONed queries?Change UNION to UNION ALL, because the two queries will never return same record values.
Sure....
December 11, 2008 at 4:34 am
Viewing 15 posts - 42,421 through 42,435 (of 49,566 total)