SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


export table


export table

Author
Message
Eirikur Eiriksson
Eirikur Eiriksson
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16142 Visits: 18627
Feel I'm starting to repeat my self on the issuePinch

Using the RFC-4180, commas and double quotes within a column/field/attribute are not a problem. The problem is more that many of the tools available are not compliant to this RFC, that in my opinion is what needs to be fixed. Switching from one delimiter to another is a form of procrastination, not a solution.
Cool
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)

Group: General Forum Members
Points: 91392 Visits: 41151
Eirikur Eiriksson (8/25/2014)
Feel I'm starting to repeat my self on the issuePinch


BWAAA-HAAA!!! Me too!


Switching from one delimiter to another is a form of procrastination, not a solution.


I'll have to register my strong disagreement with that statement. ;-) For example, TSV is so much easier to implement that switching the delimiter to TABS IS one of the better solutions. The CSV standard that you've cited is fraught with vertical (inconsistent) exceptions that cause a world of hurt for those that have to import it. TSV solves most of those problems, especially in the world of BULK INSERT, quickly and easily.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Eirikur Eiriksson
Eirikur Eiriksson
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16142 Visits: 18627
Jeff Moden (8/25/2014)
Eirikur Eiriksson (8/25/2014)
Feel I'm starting to repeat my self on the issuePinch


BWAAA-HAAA!!! Me too!


Switching from one delimiter to another is a form of procrastination, not a solution.


I'll have to register my strong disagreement with that statement. ;-) For example, TSV is so much easier to implement that switching the delimiter to TABS IS one of the better solutions. The CSV standard that you've cited is fraught with vertical (inconsistent) exceptions that cause a world of hurt for those that have to import it. TSV solves most of those problems, especially in the world of BULK INSERT, quickly and easily.


Until a field/record/column contains TAB characters then oops lets switch to PIPE....;-)
Cool
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)

Group: General Forum Members
Points: 91392 Visits: 41151
Eirikur Eiriksson (8/25/2014)
Jeff Moden (8/25/2014)
Eirikur Eiriksson (8/25/2014)
Feel I'm starting to repeat my self on the issuePinch


BWAAA-HAAA!!! Me too!


Switching from one delimiter to another is a form of procrastination, not a solution.


I'll have to register my strong disagreement with that statement. ;-) For example, TSV is so much easier to implement that switching the delimiter to TABS IS one of the better solutions. The CSV standard that you've cited is fraught with vertical (inconsistent) exceptions that cause a world of hurt for those that have to import it. TSV solves most of those problems, especially in the world of BULK INSERT, quickly and easily.


Until a field/record/column contains TAB characters then oops lets switch to PIPE....;-)
Cool


True enough... that's when then sometimes find out that they have both TABs and PIPEs in their data. It would be a lot simpler if we went back 40 years and used the correct ASCII characters for text data transmissions... characters 28 through 31 in the ASCII table.
http://www.asciitable.com/

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Eirikur Eiriksson
Eirikur Eiriksson
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16142 Visits: 18627
Jeff Moden (9/3/2014)
Eirikur Eiriksson (8/25/2014)
Jeff Moden (8/25/2014)
Eirikur Eiriksson (8/25/2014)
Feel I'm starting to repeat my self on the issuePinch


BWAAA-HAAA!!! Me too!


Switching from one delimiter to another is a form of procrastination, not a solution.


I'll have to register my strong disagreement with that statement. ;-) For example, TSV is so much easier to implement that switching the delimiter to TABS IS one of the better solutions. The CSV standard that you've cited is fraught with vertical (inconsistent) exceptions that cause a world of hurt for those that have to import it. TSV solves most of those problems, especially in the world of BULK INSERT, quickly and easily.


Until a field/record/column contains TAB characters then oops lets switch to PIPE....;-)
Cool


True enough... that's when then sometimes find out that they have both TABs and PIPEs in their data. It would be a lot simpler if we went back 40 years and used the correct ASCII characters for text data transmissions... characters 28 through 31 in the ASCII table.
http://www.asciitable.com/


Sarting to look like a good case for XML
Cool

BTW one should not need that ASCII reference, one must know this by heart like any other alphabet:-D
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)

Group: General Forum Members
Points: 91392 Visits: 41151
I didn't know there was ever a "good" case for XML. ;-)

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Eirikur Eiriksson
Eirikur Eiriksson
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16142 Visits: 18627
Jeff Moden (9/3/2014)
I didn't know there was ever a "good" case for XML. ;-)


Well now you know as you've just made one:-D
Cool
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)SSC Guru (91K reputation)

Group: General Forum Members
Points: 91392 Visits: 41151
Heh... I don't believe so. I know a lot of people really like XML for what it does but I hate it for what it does. For example, how many bytes does it take to pass a single 10 digit negative integer using XML... 18.


<i>-1234567890</i>




How many bytes does it take to pass the same thing in an encoded ASCII file? 4... and that includes the sign.

How many bytes does it take to pass a single digit using XML? 8.


<i>-1234567890</i>




How many bytes does it take to pass a single digit in plain text ASCII? 1.

Heh... and to think people were worried about the extra 2 bytes to store 4 digit years just a couple of decades ago. :-D

Speaking of that, the good thing about XML (and HTML, for that matter) is network hardware had to get a whole lot faster, memory had to get a whole lot larger, disks had to get a whole lot bigger, and CPUs had to get a whole lot faster to handle tag bloat, de-entitization, and shredding. w00t

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Orlando Colamatteo
Orlando Colamatteo
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15727 Visits: 14396
Nita Reddy (8/18/2014)
I want to export one table but text contains ',' so can I use double " ? I don't see option when I select delimiter how should I do it.?

Which tool are you using to implement the export?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search