Re: Create Table binary fields

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello Philipp,
"Philipp Stiefel" <phil@xxxxxxxxxxxxxxx> wrote:

PS> "Joe Butler" <ffffh.no.spam@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
PS>
PS>> How can I programatically create an unspecifed size binary field
PS>> (like the OLE field behaves) (I'm using SQL statements via Visual
PS>> C++ and ODBC)?
PS>
PS> CREATE TABLE yourTable (yourField OleObject)

I would recomment more DBMS independent:

CREATE TABLE yourTable (yourField VARBINARY);
--
Sincerely,
Dmitriy Ivanov
Common Lisp ODBC interface - www.ystok.ru


.