Viewing 15 posts - 451 through 465 (of 579 total)
Thanks for the comments guys. And yes, I was testing this using a UNION ALL, not a UNION
We have ~40000 rows so its not too massive.
I completely agree about SQL being for...
March 7, 2005 at 9:16 am
Ooo cutting
Well I didn't design it so I can pass the buck there. However I'll stick up for the designer by saying in...
March 7, 2005 at 8:11 am
Don't forget...EM will give you the T-SQL that will do this for you. If you dno't mind dropping table...it'll work.
If you want to request to be able to remove an...
March 7, 2005 at 4:57 am
I didn't put the smiley in there by the way!!! All I did was copy and paste!!!
Whoops!
March 7, 2005 at 4:52 am
Prior to issuing your INSERT statement, issue:
SET IDENTITY_INSERT <table_name> OFF
after your INSERT statement issue:
SET IDENTITY_INSERT <table_name> OFF
This only removes it for the duration of your session (I think).
It can't be...
March 7, 2005 at 4:46 am
OK, I've been misinformed then.
Thanks for the info.
Sorry for the digression.
March 3, 2005 at 6:12 am
Eralper,
Did you copy that straight out of BOL? I didn't think that syntax would work because it is a CTE and requires a semi-colon after:
SELECT *
FROM OrderedOrders
WHERE RowNumber...
March 3, 2005 at 5:51 am
The problem is that 'a.ReadingDate' is grouped in the outer query but not in the correlated sub-query. The correlated sub-query can't join to 'a.ReadingDate' in the outer query...
March 3, 2005 at 2:12 am
How is the table ordered? Without knowing this you can't know which are rows n & m.
If you just want all rows between n and m in an unordered set (can't...
March 3, 2005 at 2:04 am
Antares,
Exactly right, which is why I stated that we shouldn't be interested in lines of code. Also, I was only really referring to DB objects (which can be gotten from...
February 24, 2005 at 2:21 am
Antares,
Thanks again for the reply.
You are correct, the table is in another DB.
Putting the output into a temp table is exactly what I had in mind but I don't know...
February 23, 2005 at 2:31 am
OK, I've found the link now. Its: http://communities.microsoft.com/newsgroups/default.asp?icp=sqlserver2005&slcid=us
February 22, 2005 at 7:17 am
Now that I can't be entirely sure of but I would expect that you will still be able to do this.
Microsoft's mantra on this is "Never break existing functionality" so...
February 22, 2005 at 7:06 am
Ah, I had a feeling someone was going to ask that.
Thanks for the reply Antares but unfortunately my scenario isn't that simple.
Under normal...
February 22, 2005 at 6:37 am
Don't worry, there is an Execute Package task in SSIS that will execute DTS2000 packages.
The DTS2000 runtime is shipped with SSIS.
February 22, 2005 at 1:49 am
Viewing 15 posts - 451 through 465 (of 579 total)