JDBC Driver for Smaregi

Build 26.0.9655

ProductPrices

Retuns prices of the specified product.

Select

本製品 は、WHERE 句の条件と選択されたカラムを処理するために Smaregi API を使用します。 演算子: =、ORDER BY はサーバー側で処理されます。 例えば、以下のクエリはサーバー側で処理されます:

SELECT * from ProductPrices where ProductId=202504301729112

NOTE: 疑似カラムはINSERT およびUPDATE 操作でのみサポートされています。

Insert

ProductPrices に追加するには、以下のカラムを指定してください: Price、ProductName、CategoryId、StoreId、PriceDivision、StartDate、ProductPrice。

INSERT INTO ProductPrices (Price, ProductName, CategoryId, StoreId, PriceDivision, StartDate, ProductPrice) VALUES (90, 'testingproductname', 1, 35, 2, '2000-01-23', 12345678)

Update

Smaregi ではProductPrice カラムの更新が可能です。

UPDATE ProductPrices SET ProductPrice=89 WHERE ProductId=202504301729109

NOTE: ProductPrice を更新すると、Price カラムの値も更新されます。

Delete

ProductPrices は、ProductId、PriceDivision、StoreId、StartDate を指定することで削除できます。

DELETE FROM ProductPrices WHERE ProductId = 1 AND PriceDivision = 2 AND StoreId = 3 AND StartDate = '2025/3/3'

Columns

Name Type ReadOnly References Description
ProductId [KEY] Long True

Products.ProductId

PriceDivision [KEY] String False

StartDate [KEY] Date False

StoreId [KEY] Integer False

Price Integer False

EndDate Date False

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるデータを詳細に制御することができます。

Name Type Description
CategoryId Integer

ProductName String

ProductPrice Integer

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655