Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

schema.ini and export without quotes

Status
Not open for further replies.

giovi2002

Programmer
Aug 22, 2005
47
NL
Hi there,
i'm using schema.ini to export a table. As you probably know within a project you can't use import/export specifications but have to use schema.ini .
Within the ini í'm looking for a statement to tell that varchar fields (text) will be exported without quotes.

So think of my export like this
1,500,Hello
2,300,Thanks

Now i'm getiing
1,500,"hello"
2,300,"thanks"

I've looked in msdn, all i could find was this which tells me nothing about excluding the quotes
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp
 
I found it you can do the following
[Mytextfile.txt]
ColNameHeader=False
CharacterSet=1252
Format=Delimited(,)
DecimalSymbol=.
NumberDigits = 0
TextDelimiter="none"

The latest sentence textdelimiter="none" will export text without quotes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top