Viewing 15 posts - 5,221 through 5,235 (of 7,187 total)
Athar
You can use an expression to set the connection string for the file connection manager.
John
July 15, 2011 at 6:40 am
amitsingh308 (7/15/2011)
Can Any one tell me how can i get this result
No. Both outputs look exactly the same to me. Most people don't have the time or patience...
July 15, 2011 at 6:28 am
So that we don't have to guess, please explain exactly what you are trying to do. Phil has already asked one question. What are your source and destination,...
July 14, 2011 at 9:19 am
We don't have all the information we need. If the source and destination were both tables in databases on the same server, then that's exactly how I'd do it....
July 14, 2011 at 9:05 am
If you only ever will have the three account types, then you can do this in the code:
INSERT INTO MTable (Account_Code, Account-type)
SELECT Account_Code,
CASE LEFT(Account_Code,1)
WHEN '1' THEN 'Asset'
...
July 14, 2011 at 8:43 am
I'm not sure I understand. What difference does it make to the app owner how you get the database to the new server?
John
July 12, 2011 at 9:41 am
You should consider using the MERGE statement. The syntax is complicated, but it removes the danger of cardinality errors that can occur (unreported) with the UPDATE...FROM construction. These...
July 12, 2011 at 9:23 am
I don't know of a way to do it in T-SQL without modifying the definition of the procedure, but I think you can do it in SSIS with an ADO...
July 12, 2011 at 3:36 am
In the editor for the OLE DB Source, choose SQL command for your access mode, and simply type in the query that will filter out the rows you don't want.
John
July 8, 2011 at 5:29 am
Damn! I always try to remember to read through before posting, but usually fail.
John
July 8, 2011 at 5:05 am
Mahesh
This will provide a starting point for getting the definition of your table:
SELECT * FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'MyTable'
ORDER BY ORDINAL_POSITION ASC
You should be table to build a CREATE TABLE...
July 8, 2011 at 4:48 am
SQLkiwi (7/7/2011)
Hi John,There was an interesting discussion on Connect over Hugo Kornelis' request to deprecate UPDATE...FROM:
http://connect.microsoft.com/SQLServer/feedback/details/332437/deprecate-update-from-and-delete-from
Thanks Paul. Seems to be a very partisan discussion. I think I'm on...
July 7, 2011 at 8:55 am
Point taken, but however the database engine handles it internally, it's the physically last value that persists. That's what I was trying to get across.
John
July 7, 2011 at 7:16 am
This is because you're trying to access a variable called "E:\BINDU\TEST.NEW1.20110707.txt". Surely that is the value of the variable, not its name? I need to see how you're...
July 7, 2011 at 6:27 am
I prefer to use standard SQL if everything else is equal. I'm not so bothered about whether it's portable, but it's easier to maintain and less likely to be...
July 7, 2011 at 6:15 am
Viewing 15 posts - 5,221 through 5,235 (of 7,187 total)