开发者

SQL CE query problem: Update blob from file

开发者 https://www.devze.com 2023-03-19 20:41 出处:网络
I couldn\'t query开发者_开发问答 below, there is an error: The Derived Table SQL construct or statement is not supported.

I couldn't query开发者_开发问答 below, there is an error:

The Derived Table SQL construct or statement is not supported.

   UPDATE [personList] 
   SET [personPhoto] = (   
      SELECT BulkColumn FROM 
         OPENROWSET(BULK 'C:\temp\99309.jpg', SINGLE_BLOB) rs
   )
   WHERE [personID] = '99309'

What am I missing? Is the syntax supported in SQL CE?

MS-SQL CE 3.5


OPENROWSET is not supported by SQL Server Compact.

0

精彩评论

暂无评论...
验证码 换一张
取 消