Export data using dbisqlc.exe utility
Submitted by dtadmin on Fri, 10/14/2011 - 13:53
DBISQLC.EXE is the utility used to connect to sample/local database for DML,DDL operations. But how do we export the results of a query to a file?
Solution:
By using ‘OUTPUT’ command.
e.g.
SELECT * FROM SIEBEL.S_CONTACT
To export the data to a file for the above query you have to issue the following query
SELECT * FROM SIEBEL.S_CONTACT ;
OUTPUT TO C:\RESULT.CSV
FORMAT ASCII
Note:-Don’t forget to add ‘;’ after the query and before OUTPUT TO clause otherwise you will get an error. Also make sure that a blank file exists in the path before you execute the query.
Syntax:-
OUTPUT TO file-name
[APPEND]
[VERBOSE]
[FORMAT output-format]
[ESCAPE CHARACTER character]
[ESCAPES ON/OFF]
[DELIMITED BY string]
Related Articles:
Browse Categories
User login
Navigation
Popular content
- Autosys Job Handling (13,609)
- GE UNIVERSAL REMOTE INSTRUCTIONS (12,357)
- Siebel User properties (9,094)
- Test 1 - NC Drivers License Test - DMV Question Dump (8,769)
- Making a View "Read Only" based on a criteria: Aspect User Property (4,216)
- Siebel Application Response Measurement (SARM) (4,144)
- Siebel Predefined Queries (PDQ) – Reference (4,080)
- Siebel Server Component Event Logging (3,662)
- Strategies for Building Team Cohesion (3,153)
- How to create the EBC’s in Siebel (3,085)
Readers who viewed this page, also viewed:
No related items were found.
