Viewing 15 posts - 16 through 30 (of 48 total)
how about this
declare @t table(yr int,mon varchar(32))
Insert into @t
select 2011,' December ' union
select 2012,' July ' union
select 2012,' June ' union
select 2012,' March ' union
select 2012,' May '...
January 24, 2013 at 10:04 am
Based on my understanding, you have a stored proc with those "if" constructs that acts as source, you want to have a CSV format flat file as destination based on...
January 24, 2013 at 9:40 am
@sam-3, can you test this one too, just curious, not sure if this helps performance wise..
;with cte1(part,leftover,textid) as
(
select left([text],CHARINDEX(' ',[text])),RIGHT([text],len([text])-CHARINDEX(' ',[text])), id from #Text
union all
select left(leftover,case when CHARINDEX('...
January 23, 2013 at 10:32 am
this should suffice
declare @mn money=-1000000
select replace(CONVERT(varchar(50),@mn,1),'.00','') as mn
January 22, 2013 at 12:45 pm
Is this what you wanted, I doubt you'd need ORG_ID value twice there..
SET @OrgName = 'SELECT ORG_ID+''' + CONVERT(varchar(10), @orgid) +''' '+ '+[Description]+' + ' ' +'''('''+ + '+CONVERT(varchar(20),pol_id)'
+'+'')'''+ '...
January 22, 2013 at 12:29 pm
type casting that column to dt_dbtimestamp should work
January 22, 2013 at 11:03 am
try this , you could always play with datatypes once you have data in your table..
string constr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Documents\\Book1_3.xlsx;Extended Properties='Excel 12.0;HDR=NO;'";
...
January 22, 2013 at 10:43 am
That's right. I'm looking for an oracle solution. Perhaps, I'm at wrong place. Thanks.
November 30, 2012 at 3:47 pm
Based on what I know, Materialized View Log is a master table that can capture deletes/inserts/updates just like CDC tables.
November 30, 2012 at 1:17 pm
try using multi cast transformation and add both tbls as destinations. not 100% sure though..
September 16, 2012 at 9:33 pm
have a job that runs every 15 mins. in job step add a ssis package that checks file if exists and today's date is not in the table then insert...
September 16, 2012 at 9:24 pm
can you elaborate more on what you require. why can't we create tables before hand? if they are to be created for every 10K, then what is the structure of...
September 16, 2012 at 9:20 pm
try creating a stored proc and pass this column as a parameter (varchar(max)) and use exec @param
September 16, 2012 at 9:14 pm
Figured out why it is odd. It has been querying the same table(local) in Server B instead of Server A. When I deleted some rows and ran a query for...
August 6, 2012 at 10:13 am
Yes. I ran a select to see data is updated in Server A. That's the queer thing.
August 6, 2012 at 9:33 am
Viewing 15 posts - 16 through 30 (of 48 total)