Viewing 15 posts - 16 through 30 (of 859 total)
Since you have multiple tables using the same exclusion data set i would create a work table with that data set and index it, then use a LEFT JOIN tbl...
February 27, 2013 at 3:05 pm
thats what i mean by sub query.
However how many rows are in the logging table and what indexes there are will affect this a lot. Also is End_Time a...
February 27, 2013 at 2:41 pm
it should.
How many rows are in [LOGGING_01_DBF].[dbo].[LOG_LOGIN_TBL]?
Your sub query could be causing the issue if there are only 133k rows in [CHARACTER_01_DBF].[dbo].SKILLINFLUENCE_TBL and its taking hours.
if the...
February 27, 2013 at 2:35 pm
insanityflyff (2/27/2013)
i wanna delete the custom amount according to the query u see above but i tried to run a count for the...
February 27, 2013 at 2:25 pm
What percentage of the rows are you keeping and how many rows are there in the tables?
At some point its easier just to loop a delete statement depending on how...
February 27, 2013 at 2:08 pm
Can you post the DDL for the tables and a couple of sample rows and what you would like inserted into the logging table?
This information will help when writing the...
February 6, 2013 at 2:54 pm
foxxo (2/6/2013)
eg.
DECLARE @query_result_separator...
February 6, 2013 at 11:31 am
Eugene Elutin (1/28/2013)
purushottam2 (1/28/2013)
January 28, 2013 at 11:53 am
dwain.c (1/27/2013)
CREATE TABLE #Guests (checkin date, checkout date, FullName varchar(50))
INSERT INTO #Guests
SELECT '10/12/2012', '10/16/2012', 'Corky Doe' UNION ALL
SELECT '12/12/2012', '12/17/2012', 'Janice...
January 28, 2013 at 11:46 am
Bhuvnesh (1/9/2013)
paul 77096 (1/9/2013)
Thats Brilliant, it worked like a dream.in future try to avoid cursors instead use loop or set based approach. why ???? google it 🙂
Cursors VS Loops...
January 9, 2013 at 2:26 pm
Mick Opalak (1/8/2013)
That was it. This table is a heap.Thanks for the help.
Did you add a clustered index or resolve it in some way or do you now need...
January 8, 2013 at 9:11 am
Mick Opalak (1/7/2013)
I verified the row counts using COUNT(*) and they match, as I would expect. However, the publisher has a much larger data size.
Is there a clustered index...
January 7, 2013 at 2:54 pm
Personally i would rather "Store" the null value than "N/A" as i can save space and if its a numeric field dont have to make any thing special. I...
January 7, 2013 at 2:50 pm
GilaMonster (12/13/2012)
Someone's set up a DDL trigger and forgot to SET NOCOUNT ON in it.
this is my thoughts as well. when we deal with a table that has a trigger...
December 13, 2012 at 11:14 am
CELKO (12/12/2012)
December 12, 2012 at 4:48 pm
Viewing 15 posts - 16 through 30 (of 859 total)