Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5332 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted (edited)

Hi,

I try to insert a picture into a Microsoft SQL database using the Frontbase SQL Plug-In, but it does not work. The situation is like this:

-Windows Vista Home Premium (SP2)

-FileMaker Pro 10 Advanced (version 10.0v3)

-Frontbase SQL Plug-In (version 1.32)

-SQL Server ODBC driver (version 6.00.6002.180050)

-Microsoft SQL Server 2000 (version 8.00.818)

-Database Name: Test

-Table Name: Files

-Column Name: FileData (Image)

-Picture: C:TempTest.gif

I use External("FBSQL-Connect"; "datasource|username|password|timeout") to connect to the database.

When I try to insert picture Test.gif into table Files through External("FBSQL-ImportBlob"; "INSERT INTO Files(FileData) VALUES(?)|C:TempTest.gif"),

I get the following result: ERROR (0505) [Microsoft][ODBC SQL Server Driver]Invalid precision value.

Can someone help me to solve this?

Thanks!

Edited by Guest
  • Newbies
Posted (edited)

I just found out that it works perfectly on a MySQL database (with column FileData as data type BLOB).

I don't get it. What am I doing wrong?

Edited by Guest

This topic is 5332 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.