Viewing 15 posts - 106 through 120 (of 1,346 total)
>>It does not matter which row to keep and which row to avoid.
OK. So, for these 2, maybe you can answer some very specific questions to get this wrapped...
March 23, 2007 at 11:54 am
With Excel datasources, DTS reads the first N rows of the sheet to sample the data and makes assumptions about the data. Sorry, can't recall what number N is, but...
March 22, 2007 at 1:53 pm
Views should not contain an Order By.
If you need a resultset to be ordered a certain way, always use an Order By on your Select statement.
March 22, 2007 at 1:46 pm
>>is there any possibilities of getting more than one row
It depends. w_id is the primary key of a table.
Your sub-query selects from a view. Since we don't know what your...
March 22, 2007 at 1:43 pm
>>IS there any hidden difference in replacing IN operator with = operators in these queries ?
Yes, there is a difference and it depends on the subquery:
SELECT cl_re_to_id from v_weeks...
March 22, 2007 at 12:48 pm
>>Records are inserted into the Return table in order, and when the table function is called it appears to provide the records in that same order.
This will come...
March 19, 2007 at 8:47 am
To add to the good advice already posted ...
>> I stripped it bare trying to eliminate all possible suspects.
Does "bare" include dropping all indexes ?
Are there any other concurrent processes using...
March 16, 2007 at 2:04 pm
Inability to use ORDER BY in a view in SQL2K5 highlights the danger of building a solution on something that "works, but is unsupported".
SQL2000 and earlier versions should never have...
March 14, 2007 at 10:49 am
What sort of DTS task is this ? Data Transformation ? Data-driven Query ?
If in doubt, turn on SQL Profiler and see what SQL statements are being sent to the...
March 13, 2007 at 1:40 pm
>>The insert occurs in a DTS package, I'll have to go check.....
I would guess it's auto-committing every 1000 rows (the default in DTS), which is why you're seeing that behaviour.
March 13, 2007 at 1:13 pm
Does column Code contain unique ascending sequence of values ?
March 13, 2007 at 1:01 pm
Is the insert of 200K records going in as 1 batch, so that all 200K records are in the 'inserted' virtual table ?
Or are they individual inserts, 1 record at...
March 13, 2007 at 12:12 pm
You truncated DailyAccountsDownload.
But you didn't truncate DailyAccountsDownload_Tracking, right ?
So, presumably your LEFT JOIN on DailyAccountsDownload_Tracking only evaluated "WHERE hs.MMS IS NULL" to TRUE on 25,000 of the records. Apparently the...
March 13, 2007 at 11:06 am
Select ClientID,
min_date_in,
Case When max_date_out = '01 Jan 2079' Then Null Else max_date_out End
From (
Select ClientID,
Min(date_in) As min_date_in,
Max(IsNull(date_out, '01 Jan 2079')) As...
March 13, 2007 at 9:10 am
If the INSERT worked standalone, maybe the IF statement is "iffy" ?
Speaking of which, you never need to COUNT() an entire resultset, if all you care about is that the...
March 13, 2007 at 8:43 am
Viewing 15 posts - 106 through 120 (of 1,346 total)