Viewing 15 posts - 5,476 through 5,490 (of 7,164 total)
SQLkiwi (7/16/2011)
Yes, you can filter an OUTPUT clause
Can you? This would seem like Option (i.e. workaround) #3. The filtering is not technically part of the OUTPUT clause but it will...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 17, 2011 at 7:04 am
Welsh Corgi (7/16/2011)
DON'T CLINK ON THE LINK UNLESS YOU WANT TO H*(&^ YOUR COMPUTER!
Welsh, what the H*(&^ are you talking about? 😛
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 9:40 pm
krushkoder (7/16/2011)
Thanks again! And I really do feel like I'm one of the nanos gigantium humeris insidentes!
Me too, every day mate...happy you got it sorted 😎
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 9:38 pm
That's not how the OUTPUT clause works: http://technet.microsoft.com/en-us/library/ms177564.aspx
To achieve the behavior I see a couple options:
Option 1: issue two inserts
- Insert 1: insert into tblProduction WHERE col3 <> 0...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 7:44 pm
WebTechie38 (7/16/2011)
I was wondering how if you had an example or knew of an example for number 3.
I haven't done that before. I would...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 5:48 pm
I would recommend you have a look into Synonyms and Views.
Both can perform cross-database operations and can be dropped and recreated in the context of a transaction so you could...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 3:55 pm
No worries. Please refer all comments to the other thread going forward. I think the comment I made on the other thread will help you solve the issue without using...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 3:47 pm
naveen0905 (7/16/2011)
I have sample data like mentioned below.
Student IDattendancefrom_dateto_date
1 20 1/1/20102/1/2010
1...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 3:39 pm
Is this the same issue as this or am I missing the nuance?
http://www.sqlservercentral.com/Forums/Topic1142962-391-1.aspx
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 3:34 pm
Here is a rough sketch of an SSIS package that will do what you want:
1. Load the list of instances you want to iterate over into SSIS however you're doing...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 3:32 pm
I was able to get something going. The issue changed for me when I reworked the DllImport for LoadLibrary (Reference).
Pre-reqs I had to satisfy to deploy UNSAFE assemblies:
1. Alter...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 8:30 am
You're welcome Hawaiian! I am happy it will work for you...enjoy the weekend 🙂
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 16, 2011 at 7:15 am
Jeff Moden (7/15/2011)
opc.three (7/15/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 15, 2011 at 5:25 pm
villychilly (7/15/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 15, 2011 at 5:17 pm
Very nice job posting usable DDL, DML and what you have tried! Provide your desired output relative to the same test data please and we'll see if we can assist.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
July 15, 2011 at 3:09 pm
Viewing 15 posts - 5,476 through 5,490 (of 7,164 total)