Viewing 15 posts - 16 through 30 (of 298 total)
Thanks for clarification Baskar. Will try monday & post back.
Cheers
July 30, 2010 at 3:12 pm
Try this article
July 30, 2010 at 1:00 pm
Thanks Baskar - If i understand correctly - run the create table in the SSIS data destination then copy the resuting tab and make changes to the copy.
I'll try...
July 30, 2010 at 11:54 am
Have you used SSIS?
July 30, 2010 at 11:50 am
Try looking at PIVOT & UNPIVOT in BOL, you would then have to concatenate the resulting columns into one.
I'm guessing this is for display purposes so the cocatenation would be...
July 30, 2010 at 10:18 am
Currently i am doing it manually by drag and drop method
Sounds like you already have a load method and you just need to get the files, I would...
July 30, 2010 at 10:09 am
Some would say presentation is not the function of T-SQL but in the real world you could try something like this
SELECT CONVERT(VARCHAR(50),CURRENT_TIMESTAMP,113)
You could get closer to your requirement by concatenating...
July 30, 2010 at 10:02 am
Hi,I think you could use select... into ... because your column names are all unique. Something like this.
select
T1.column1,
T1.column2,
T3.column3,
T2.column4,
t2.column5,
T1.column6,
T3.column7,
T4.column8
into
NewTable
from
table1 T1, table2 T2, table3 T3,...
July 30, 2010 at 9:10 am
Yes - that was it!
Another lesson learnt.
May 12, 2010 at 1:23 pm
Thanks - I'm getting a return code of 1. If I omit the @query parameter I get a return code of 0 and the email is sent OK.
What does...
May 12, 2010 at 1:10 pm
Hi elutin,
Code is below (a bit messy but a work in progress)
I don't see the mail queued message because the sp_send_dbmail is in a stored proc. Interestingly running the...
May 12, 2010 at 11:32 am
Something like this.
ALTER TABLE tblA
ADD Class NVARCHAR(150) DEFAULT 'Some value'
April 30, 2010 at 7:36 am
Obviously we nat have 30th Feb so the business logic has to change. I would suggest trapping February and if End Day > 28 then End Day = 28 (and...
February 15, 2010 at 4:17 am
Thanks Willem, as usual I didn't see the error because I was looking in the wrong place!
Cheers
Allen
February 12, 2010 at 4:59 am
Hi
I'm still struggling, I don't understand how to calculate the divisor to get to the right units. Below is wrong but I cant see why..
DECLARE @myTest tinyint
-- v1 left 2...
February 12, 2010 at 4:18 am
Viewing 15 posts - 16 through 30 (of 298 total)