RE: TeraScript-Talk: Handling VARBINARY(MAX)

2018-05-03 Thread Robert Shubert
: Re: TeraScript-Talk: Handling VARBINARY(MAX) On 3 May 2018, at 6:09 am, Robert Shubert <rshub...@tronics.com <mailto:rshub...@tronics.com> > wrote: TS 7.1.1 added @POSTARGFILENAME which is a convenient way to get the original filename from a . Is there a TS7^ Developers G

Re: TeraScript-Talk: Handling VARBINARY(MAX)

2018-05-03 Thread Andrej Popovic
21:10 To: TeraScript-Talk@terascript.com Subject: RE: TeraScript-Talk: Handling VARBINARY(MAX) Andrej, This should work – but be sure to not handle the data at all and use a directDBMS with the @BIND tag. So: <@ASSIGN binaryData <@ARG file>> Then in a DirectDBMS: INSERT INTO f

RE: TeraScript-Talk: Handling VARBINARY(MAX)

2018-05-02 Thread Robert Shubert
Andrej, This should work – but be sure to not handle the data at all and use a directDBMS with the @BIND tag. So: <@ASSIGN binaryData <@ARG file>> Then in a DirectDBMS: INSERT INTO files (data) VALUES (<@BIND binaryData>) notes about TS6: It’s a 32-bit app, so you’re limited