Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Administration
»
Differences between Unicode Text and ASCII...
Differences between Unicode Text and ASCII text file
Rate Topic
Display Mode
Topic Options
Author
Message
jagadish_sds
jagadish_sds
Posted Wednesday, June 10, 2009 12:17 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 15, 2009 12:32 AM
Points: 14,
Visits: 45
There is an option to script SQL's into Unicode or ASCII text file, but both are generating .sql files, I did not find any differences with generated files.
What are the differences between Unicode Text and ASCII text file?
What are the advantages?
Post #732539
Jeff Moden
Jeff Moden
Posted Wednesday, June 10, 2009 8:27 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:05 AM
Points: 32,894,
Visits: 26,775
It's what you can't see that makes the difference... the following is a very good article on the subject...
http://www.joelonsoftware.com/articles/Unicode.html
As a side bar, it took me about 2 minutes to find it on Google.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
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."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #732717
RBarryYoung
RBarryYoung
Posted Wednesday, June 10, 2009 8:40 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
What you should be able to see however is that the Unicode .sql file is about twice the size of the Ascii one.
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #732720
Jeff Moden
Jeff Moden
Posted Wednesday, June 10, 2009 9:16 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:05 AM
Points: 32,894,
Visits: 26,775
RBarryYoung (6/10/2009)
What you should be able to see however is that the Unicode .sql file is about twice the size of the Ascii one.
Any idea if SQL Server supports UTF-8?
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
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."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #732727
jagadish_sds
jagadish_sds
Posted Wednesday, June 10, 2009 9:26 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 15, 2009 12:32 AM
Points: 14,
Visits: 45
That differences I knew, I am asking what is the differecne between Unicode & ASCII text file in SQL Server, both are generating .sql file and content also same. What are the advantages of Unicode text file over ASCII or vice versa in terms of SQL Server (.sql files)?
Post #732729
Jeff Moden
Jeff Moden
Posted Wednesday, June 10, 2009 9:37 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:05 AM
Points: 32,894,
Visits: 26,775
jagadish_sds (6/10/2009)
That differences I knew, I am asking what is the differecne between Unicode & ASCII text file in SQL Server, both are generating .sql file and content also same. What are the advantages of Unicode text file over ASCII or vice versa in terms of SQL Server (.sql files)?
Uh huh... what are you using to examine the content with?
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
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."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #732733
RBarryYoung
RBarryYoung
Posted Thursday, June 11, 2009 12:41 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
Jeff Moden (6/10/2009)
RBarryYoung (6/10/2009)
What you should be able to see however is that the Unicode .sql file is about twice the size of the Ascii one.
Any idea if SQL Server supports UTF-8?
SQL Server? Nope.
Though oddly enough, SSMS does (for at least one case).
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #732778
RBarryYoung
RBarryYoung
Posted Thursday, June 11, 2009 12:43 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
Ascii only supports the ASCII character set. Unicode supports virtually every character set in the world.
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #732779
Jeff Moden
Jeff Moden
Posted Friday, June 12, 2009 7:17 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:05 AM
Points: 32,894,
Visits: 26,775
RBarryYoung (6/11/2009)
Jeff Moden (6/10/2009)
RBarryYoung (6/10/2009)
What you should be able to see however is that the Unicode .sql file is about twice the size of the Ascii one.
Any idea if SQL Server supports UTF-8?
SQL Server? Nope.
Though oddly enough, SSMS does (for at least one case).
Heh... found it in BOL. SQL Server supports Unicode 3.2 and that doesn't unclude the UTF-8 standard. Thanks for the confirmation, Barry.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
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."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #734212
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.