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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Char(bin) datatype in MS SQL

Status
Not open for further replies.

nengie

Programmer
Jan 7, 2002
14
0
0
TH
What datatype in MS SQL equivalent to char(bin) in VFP ? I want to maintain character data without change across code pages. TIA.
 
Binary Strings
binary
Fixed-length binary data with a maximum length of 8,000 bytes.

varbinary
Variable-length binary data with a maximum length of 8,000 bytes
Attitude is Everything
 
Unfortunately there is no &quot;persistant&quot; field type that's equivalent to char(bin) - character is all we have. However you can use the SET NOCPTRANS Command after you open a table to suppress code page changes. It's just you have to explicitly name the fields each time you open the file! <s>

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top