sap-ase

In sybase ASE, Unable to insert using Proxy_table Command

微笑、不失礼 提交于 2021-01-29 13:54:11
问题 Im using Sybase ASE 15.7 and facing issue while proxy table insert with Default value. We want migrate data from source table to Target table, where target table is in remote server has Additional Columns with Not null and Default values. Please find the below Tables Details. Source Table: CREATE TABLE TABLE_SOURCE ( COL1 INT, COL2 INT, COL3 INT ) Target Table: CREATE TABLE TABLE_TARGET (COL1 INT, COL2 INT, COL3 INT, COL4 INT Default 0 NOT NULL ) Creating Proxy table in Source DB: CREATE

Sybase ASE isql - Remove blank first column from output into csv file

橙三吉。 提交于 2021-01-07 03:12:43
问题 My question is similar to this post but in their example I want to remove the first delimiter in the output. In the SQL file that's being called, I set nocount on , proc_return_status off , and set proc_output_params off which I figured would remove that column previously inhabited by the x rows affected lines and other statements but now it's just blank. For the isql parameters, I'm just using -s"," and am unsure if I need to add anything else. Desired output: ,some_column_entry,3212 becomes

Sybase ASE isql - Remove blank first column from output into csv file

人走茶凉 提交于 2021-01-07 03:10:50
问题 My question is similar to this post but in their example I want to remove the first delimiter in the output. In the SQL file that's being called, I set nocount on , proc_return_status off , and set proc_output_params off which I figured would remove that column previously inhabited by the x rows affected lines and other statements but now it's just blank. For the isql parameters, I'm just using -s"," and am unsure if I need to add anything else. Desired output: ,some_column_entry,3212 becomes

Sybase ASE isql - Remove blank first column from output into csv file

廉价感情. 提交于 2021-01-07 03:09:42
问题 My question is similar to this post but in their example I want to remove the first delimiter in the output. In the SQL file that's being called, I set nocount on , proc_return_status off , and set proc_output_params off which I figured would remove that column previously inhabited by the x rows affected lines and other statements but now it's just blank. For the isql parameters, I'm just using -s"," and am unsure if I need to add anything else. Desired output: ,some_column_entry,3212 becomes