我正在处理此问题并收到如下错误消息。 无效的对象名称'dbo.GetProductOptionInformation'
The function is already exists on the database. I do not know what is the problem with this.
Please point me where this problem would have.
SELECT
ProductOptionInformation.ID AS ID
, ProductOptionInformation.PRODUCT_ID AS [PRODUCT_ID]
, ProductOptionInformation.OPTION_NAME AS [OPTION_NAME]
, ProductOptionInformation.SUBOPTION_ID AS [SUBOPTION_ID]
, ProductOptionInformation.IS_SUBOPTION_REQUIRED AS [IS_SUBOPTION_REQUIRED]
, ProductOptionInformation.OPTION_PRICE AS [OPTION_PRICE]
, ProductOptionInformation.OPTION_DEFAULT_PRICE AS [OPTION_DEFAULT_PRICE]
, ProductOptionInformation.CATEGORY_NAME AS [CATEGORY_NAME]
, ProductOptionInformation.IS_MULTI_SELECT AS [IS_MULTI_SELECT]
, ProductOptionInformation.IS_SELECTION_REQUIRED AS [IS_SELECTION_REQUIRED]
, ProductOptionInformation.IS_DEFAULT AS [IS_DEFAULT]
, ProductOptionInformation.IS_SELECTED AS [IS_SELECTED]
, ProductOptionInformation.COMMENT AS [COMMENT]
, ProductOptionInformation.CATEGORY_PARENT_NAMES AS [CATEGORY_PARENT_NAMES]
, ProductOptionInformation.QUANTITY AS [QUANTITY]
, ProductOptionInformation.DEFAULT_QUANTITY AS [DEFAULT_QUANTITY]
, ProductOptionInformation.IS_PERCENTAGE_ADJUSTMENT AS [IS_PERCENTAGE_ADJUSTMENT]
, (CASE dbo.GetProductOptionInformation.IS_PERCENTAGE_ADJUSTMENT WHEN 1 THEN '%' ELSE '$' END) AS [IS_PERCENTAGE_ADJUSTMENT_TYPE]
, ProductOptionInformation.PRODUCT_SELL_PRICE AS [PRODUCT_SELL_PRICE]
FROM
dbo.GetProductOptionInformation(NULL, NULL, CASE WHEN 386 = 385 THEN 1 ELSE 0 END, 'QuoteItem', 1) AS ProductOptionInformation
ORDER BY
-- Default
ProductOptionInformation.ID DESC
请帮助我
答案 0 :(得分:1)
尝试
编辑-> IntelliSense->刷新本地缓存。
此外,请检查您的连接字符串。他们可能指向错误的数据库。