Within the project-manager I am able to add a binary-character field into a table.
But how I am able to do this with the SQL command CREATE TABLE? There is only the filed-type CHAR.
Thanks in advance
You can use the NOCPTRANS clause in CREATE TABLE, something like
create table c:\temp\test (char c(20) nocptrans)
From the docs:
NOCPTRANS
Prevents translation to a different code page for character and memo fields. You can specify NOCPTRANS only for character and memo fields. This creates what appears to be Character (binary) and Memo (binary) data types in the Table Designer.
Thank you!
But I have anyway a problem with my index. There is a field with binary information and an index for this field.
But SEEK returns TRUE, alltrough it is allways the first record. Once, after changing from CHAR to CHAR Binary within the Project-Mng. I solved this problem. But now, after creating it again with CREATE TABLE I have the same problem again (CodePage is also set correctly).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.