Hi all,

As I wait Whil's new book about MySQL Server I tried to create a test database and I crashed on the wall many times

1. I create a table t with a MEDIUMBLOB field named PhotoField for storing some photographs.
   Typing in the command window:
   lcPhoto = Filetostr("c:\myphoto.jpg")
? SQLEXEC(1, "insert into t (rec_id, PhotoField) values (1, " + lcPhoto + ")" )
  I get an error saying that my syntax is not correct.

Does anyone know how this can be accomplished?

2. I create another field in my table and then I add a varhcar(50) field. I mark BINARY flag and then click on "Save Changes" button. When I reopen the properties of the field BINARY mark has gone! Since this is a crazy behaviour I may have missed something very essential. Does anybody know something about it?

3. I create a field with column charset ="greek" and column colate = "greek_general_ci". When I try ta save greek characters there and i get error messages. Finally I managed to save greek characters with column charset = utf8.
   What's going here???

Any help would be greatly appreciated
Thanks

Vassilis Aggelakos





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to