Jump to content

Insert a picture using Frontbase SQL Plug-In


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

Recommended Posts

  • Newbies

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
Link to comment
Share on other sites

This topic is 5143 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.