How to copy two rows from one Sybase server to another
up vote
0
down vote
favorite
I have two Sybase servers (Sybase ASE and Sybase IQ). The servers are named Srv1 and Srv2 respectively. I am trying to copy two rows from one server to another. Both servers have a table with the same name (t_VisionData). Right now, I am selecting these two rows with the query:
select * from t_VisionData where ViId=0003 and VizDate='10/24/2018'
This query in Svr1 gives me the two rows I need. I am unable to figure out how I can copy these two rows into Svr2. I am using the Aquadata editor (not sure if that matters) Any help is much appreciated.
database sybase sybase-ase sybase-iq
add a comment |
up vote
0
down vote
favorite
I have two Sybase servers (Sybase ASE and Sybase IQ). The servers are named Srv1 and Srv2 respectively. I am trying to copy two rows from one server to another. Both servers have a table with the same name (t_VisionData). Right now, I am selecting these two rows with the query:
select * from t_VisionData where ViId=0003 and VizDate='10/24/2018'
This query in Svr1 gives me the two rows I need. I am unable to figure out how I can copy these two rows into Svr2. I am using the Aquadata editor (not sure if that matters) Any help is much appreciated.
database sybase sybase-ase sybase-iq
1
bcp
the data from ASE (eg, create a view from yourselect
and bcp from the view) and thenbcp
into IQ; if you don't want to use OS-level tools (likebcp
) then consider setting up a proxy table between ASE and IQ; you'll need to decide where the proxy table is to be created (in ASE? in IQ?) based on your req's; while the manuals are a good place to start for syntax, Rob's tip on ASE-IQ connectivity may also provide some benefit
– markp
Nov 11 at 15:50
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have two Sybase servers (Sybase ASE and Sybase IQ). The servers are named Srv1 and Srv2 respectively. I am trying to copy two rows from one server to another. Both servers have a table with the same name (t_VisionData). Right now, I am selecting these two rows with the query:
select * from t_VisionData where ViId=0003 and VizDate='10/24/2018'
This query in Svr1 gives me the two rows I need. I am unable to figure out how I can copy these two rows into Svr2. I am using the Aquadata editor (not sure if that matters) Any help is much appreciated.
database sybase sybase-ase sybase-iq
I have two Sybase servers (Sybase ASE and Sybase IQ). The servers are named Srv1 and Srv2 respectively. I am trying to copy two rows from one server to another. Both servers have a table with the same name (t_VisionData). Right now, I am selecting these two rows with the query:
select * from t_VisionData where ViId=0003 and VizDate='10/24/2018'
This query in Svr1 gives me the two rows I need. I am unable to figure out how I can copy these two rows into Svr2. I am using the Aquadata editor (not sure if that matters) Any help is much appreciated.
database sybase sybase-ase sybase-iq
database sybase sybase-ase sybase-iq
edited Nov 11 at 0:58
asked Nov 11 at 0:29
dankmemes
164
164
1
bcp
the data from ASE (eg, create a view from yourselect
and bcp from the view) and thenbcp
into IQ; if you don't want to use OS-level tools (likebcp
) then consider setting up a proxy table between ASE and IQ; you'll need to decide where the proxy table is to be created (in ASE? in IQ?) based on your req's; while the manuals are a good place to start for syntax, Rob's tip on ASE-IQ connectivity may also provide some benefit
– markp
Nov 11 at 15:50
add a comment |
1
bcp
the data from ASE (eg, create a view from yourselect
and bcp from the view) and thenbcp
into IQ; if you don't want to use OS-level tools (likebcp
) then consider setting up a proxy table between ASE and IQ; you'll need to decide where the proxy table is to be created (in ASE? in IQ?) based on your req's; while the manuals are a good place to start for syntax, Rob's tip on ASE-IQ connectivity may also provide some benefit
– markp
Nov 11 at 15:50
1
1
bcp
the data from ASE (eg, create a view from your select
and bcp from the view) and then bcp
into IQ; if you don't want to use OS-level tools (like bcp
) then consider setting up a proxy table between ASE and IQ; you'll need to decide where the proxy table is to be created (in ASE? in IQ?) based on your req's; while the manuals are a good place to start for syntax, Rob's tip on ASE-IQ connectivity may also provide some benefit– markp
Nov 11 at 15:50
bcp
the data from ASE (eg, create a view from your select
and bcp from the view) and then bcp
into IQ; if you don't want to use OS-level tools (like bcp
) then consider setting up a proxy table between ASE and IQ; you'll need to decide where the proxy table is to be created (in ASE? in IQ?) based on your req's; while the manuals are a good place to start for syntax, Rob's tip on ASE-IQ connectivity may also provide some benefit– markp
Nov 11 at 15:50
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244757%2fhow-to-copy-two-rows-from-one-sybase-server-to-another%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
bcp
the data from ASE (eg, create a view from yourselect
and bcp from the view) and thenbcp
into IQ; if you don't want to use OS-level tools (likebcp
) then consider setting up a proxy table between ASE and IQ; you'll need to decide where the proxy table is to be created (in ASE? in IQ?) based on your req's; while the manuals are a good place to start for syntax, Rob's tip on ASE-IQ connectivity may also provide some benefit– markp
Nov 11 at 15:50