Search Results

Search: Posts Made By: Suresh
3,150
Posted By Suresh
I tried to execute only the if exist statement to...
I tried to execute only the if exist statement to know if it throws error in starting itself.
Example:
if exists(select 1 from sysobjects where name = 'sample_table' and type = 'U')
begin
...
3,150
Posted By Suresh
Yes, the DB user has all the access permissions.
Yes, the DB user has all the access permissions.
3,150
Posted By Suresh
Dear Neo, That's why I have wrote else part,...
Dear Neo,

That's why I have wrote else part, if the table is not found it should create and insert the data from temp table. but, it hasn't worked.
Table data is as below:
22055;20181009;...
1,872
Posted By Suresh
Isql syntax error in UNIX script
Hello Everyone,

Coming again for your help to solve the below error:

In a script, i had created a temp table (Temp_table) and loaded the data in it using bcp command (performed successfully)...
3,150
Posted By Suresh
Isql and If Exist syntax error in UNIX script
Hello Everyone,

Coming again for your help to solve the below error:

In a script, i had created a temp table (Temp_table) and loaded the data in it using bcp command (performed successfully)...
14,253
Posted By Suresh
Thank you. Actually the problem is with the file...
Thank you. Actually the problem is with the file format at end of each line. So, I have added a semicolon delimiter and tried accessing the bcp command to load the data into Sybase.

awk -v d=`date...
14,253
Posted By Suresh
Sorry, I didn't understand could you breif the...
Sorry, I didn't understand could you breif the idea you are proposing.

Thanks
14,253
Posted By Suresh
Bcp command error in uploading data to Sybase
Hi All,

I had an issue in executing bcp command to connect to Sybase from Unix script for uploading the data from file to table.

I have a file called vrs_temp.txt (with two columns):
...
3,747
Posted By Suresh
Thanks both of you for your response and showing...
Thanks both of you for your response and showing the error in the command which I return.


1. I clarified with sed command.
2. For the output with AWK command what is the difference between OFS...
3,747
Posted By Suresh
Adding an extra date column in UNIX file
Hi All,

I have a file with only one column of data (without delimiter). For Ex:

cat temp.txt
22055
21088
93840
30990
50990
50950

I want to insert an additional column with current date...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 04:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy