Jump to content

S S I S Help..


Recommended Posts

Posted

[quote name='Avataar' timestamp='1360019880' post='1303225828']


aapicer :D
[/quote]
presented sir....

Posted

[quote name='Jeedeelu' timestamp='1360020017' post='1303225843']
on error event handler lo Mail task pettanu...

nuvu cheppinattu chesthe... conflict vasthundhi anukunta..

Data flow task lo oka file generate avuthundhi..

On error---lo inko file generate avuthundhi... but I need just one file which shd b emtpy one...
[/quote]
ya crrt e...agreeddd...

if em wrk around dorakakapothe aaa on error lo file delete or move to archive chesi oka empty file crte chesei...

Posted

[quote name='mtkr' timestamp='1360020343' post='1303225883']
ya crrt e...agreeddd...

if em wrk around dorakakapothe aaa on error lo file delete or move to archive chesi oka empty file crte chesei...
[/quote]
ya.. paina cheppinattu...

on error vasthe red line drag to file task... danilo empty file create cheyali by over writing...

Posted

commit petachu kada...writer vadhutunnavu anuko like .towrite() commit revoke untundhi catch lo peteyi anthey..just a thought....

Posted

creative genius...neeku full support vasthadhi chudu deeni kosam [img]http://lh3.ggpht.com/--o7mXz3u-j4/T9VVBGzBJAI/AAAAAAAAGo0/kmj8a1-XW2g/s150/PK-1.gif[/img]
[quote name='Jeedeelu' timestamp='1360016484' post='1303225463']
ltt.... help chesinavalaki... oka "like".. :)
[/quote]

Posted

[quote name='GatisKandis' timestamp='1360020591' post='1303225918']
commit petachu kada...writer vadhutunnavu anuko like .towrite() commit revoke untundhi catch lo peteyi anthey..just a thought....
[/quote]
ba... nuvu cheppindhi .net la vundhi..

na dantlo choosthe isolation level serializable select chesi vundhi....

dhani read commited ani pedithe.... empty file create avuthadha...? sCo_^Y sCo_^Y

e googling sesuko leka sachipothuna...

Posted

ya in the air chepa :D....aa piece lo code if possible eda padeyi
nuve antunnav kada isolation level serializable select ani...inke commit rollback rendu petuko....
[quote name='Jeedeelu' timestamp='1360020885' post='1303225951']
ba... nuvu cheppindhi .net la vundhi..

na dantlo choosthe isolation level serializable select chesi vundhi....

dhani read commited ani pedithe.... empty file create avuthadha...? sCo_^Y sCo_^Y

e googling sesuko leka sachipothuna...
[/quote]

Posted

[quote name='GatisKandis' timestamp='1360021448' post='1303226002']
ya in the air chepa :D....aa piece lo code if possible eda padeyi
nuve antunnav kada isolation level serializable select ani...inke commit rollback rendu petuko....
[/quote]
dang.... commit rollback option vunnayi kadha.. i did not play with these....

neeku ishtum vachina stmt teesuko..

select *from A

where A.col1='XYZ'


select chesthunappudu....madhyalo 100th row deggara error vunte... it shd not return anything ... and should select '0' rows.... how to implement dis??

Posted

[quote name='mtkr' timestamp='1360020089' post='1303225856']
presented sir....
[/quote]

chk ur PM jaffa

Posted

adhi try chesinav anukunna[img]http://www.desigifs.com/sites/default/files/CroppedBrahmishock_zps694518cc.gif?1350460826[/img]

try
{

SELECT IDNAME
FROM AFDB
WHERE ID='GatisKandis';

COMMIT;
}
catch
{
ROLLBACK;
}
finally
{
jeedeelu thinnu
}
[quote name='Jeedeelu' timestamp='1360021816' post='1303226014']
dang.... commit rollback option vunnayi kadha.. i did not play with these....

neeku ishtum vachina stmt teesuko..

select *from A

where A.col1='XYZ'


select chesthunappudu....madhyalo 100th row deggara error vunte... it shd not return anything ... and should select '0' rows.... how to implement dis??
[/quote]

  • Upvote 1
Posted

[quote name='GatisKandis' timestamp='1360022268' post='1303226042']
adhi try chesinav anukunna[img]http://www.desigifs.com/sites/default/files/CroppedBrahmishock_zps694518cc.gif?1350460826[/img]

try
{

SELECT IDNAME
FROM AFDB
WHERE ID='GatisKandis';

COMMIT;
}
catch
{
ROLLBACK;
}
finally
{
jeedeelu thinnu
}
[/quote]
SSIS lo ila use cheyalem anukunta...


[size=4]Perhaps. That will "try/catch" the entire batch of operations going on in the Data Flow, not a particular component for each row.[/size]
[size=4]If you want to "try/catch" each row, then you'd use the error output of the component you expect may fail. You can route rows that cause errors to other components (to insert data in an error table, for example), then set "default" values for whatever operation failed, then union those "error" rows back in to the main flow to continue processing.[/size]

Posted

haha in general ga chepina mama.....dantlo begin try end try cathc petachu kada....
intermittent commits pettu I mean component wise commits...see if it works
[quote name='Jeedeelu' timestamp='1360022590' post='1303226061']
SSIS lo ila use cheyalem anukunta...


[size=4]Perhaps. That will "try/catch" the entire batch of operations going on in the Data Flow, not a particular component for each row.[/size]
[size=4]If you want to "try/catch" each row, then you'd use the error output of the component you expect may fail. You can route rows that cause errors to other components (to insert data in an error table, for example), then set "default" values for whatever operation failed, then union those "error" rows back in to the main flow to continue processing.[/size]
[/quote]

Posted

mama chk these links....


http://stackoverflow.com/questions/2430830/ssis-flat-file-insertion-failure-to-rollback



http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL-Server-2005/Q_27390099.html


scnd di registration antundhiii.. but issue matram same as urs...

×
×
  • Create New...