ODBC Driver for Microsoft Bing

Build 23.0.8839

NewsSearch

Query the Bing news search engine.

テーブル固有の情報

Select

このテーブルのクエリでは、Bing API はSearch Terms パラメータを要求します。例えば、Bing News で語句'bing' を検索するには、次のクエリを使用します。

SELECT * FROM NewsSearch WHERE SearchTerms = 'bing'

検索のセーフティレベルを指定することもできます。

SELECT * FROM NewsSearch WHERE SearchTerms = 'bing' AND SafeSearch = 'Moderate'

Columns

Name Type Description
Title String The title of the search result.
Description String The HTML title of the search result.
URL String The URL of the search result.
Thumbnail String The source of the search result. This often is the company name.
DatePublished Datetime The date of the search result.
Category String The news category.
ProviderName String The news provider.

Pseudo-Columns

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

Name Type Description
SearchTerms String The search expression.
Market String The type of the source that triggered the event.

使用できる値は次のとおりです。ar-XA, bg-BG, cs-CZ, da-DK, de-AT, de-CH, de-DE, el-GR, en-AU, en-CA, en-G, en-ID, en-IE, en-IN, en-MY, en-NZ, en-PH, en-SG, en-US, en-XA, en-ZA, es-AR, es-CL, es-MX, es-US, es-XL, et-EE, fi-FI, fr-BE, fr-CA, fr-CH, fr-FR, he-IL, hr-HR, hu-HU, it-IT, ja-JP, ko-KR, lt-LT, lv-LV, nb-NO, nl-BE, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sk-SK, sl-SI, sv-SE, th-TH, tr-TR, uk-UA, zh-CN, zh-HK, zh-TW

SafeSearch String The search safety level.

使用できる値は次のとおりです。Strict, Moderate, Off

Country String A 2-character country code of the country where the results come from.

使用できる値は次のとおりです。AR, AU, AT, BE, BR, CA, CL, DK, FI, FR, DE, HK, IN, ID, IE, IT, JP, KR, MY, MX, NL, NZ, NO, CN, PL, PT, PH, RU, SA, ZA, ES, SE, CH, TW, TR, GB, US

Freshness String Filter images by when Bing discovered the image.

使用できる値は次のとおりです。Day, Week, Month

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839