2015-01-26 5 views
-1

Я попытался создать проект SQL Server и назвал процедуруДлина хранимой процедуры в SQL Server

psp_insert_new_customer_insurance_policy_answer 

После сборки, я получаю эту ошибку:

Error 3 SQL00103: The identifier that starts with 'insert_new_customer_insurance_policy_answers' is too long. Maximum length is 32. C:~stored_procedures\insert\psp_insert_new_customer_insurance_policy_answer.sql 23 1 smartinsuredb

Бревна ниже

Creating [dbo].[psp_update_existing_claim_answer]... 
Creating [dbo].[psp_update_existing_claim_status]... 
Creating [dbo].[psp_update_existing_company]... 
Creating [dbo].[psp_update_existing_country]... 
Creating [dbo].[psp_update_existing_customer_insurance_policies]... 
(2065,1): SQL72014: .Net SqlClient Data Provider: Msg 103, Level 15, State 2, Procedure psp_update_existing_customer_insurance_policies, Line 23 
The identifier that starts with update_existing_customer_insurance_policies' is too long. Maximum length is 32. 

(2078,1): SQL72014: .Net SqlClient Data Provider: Msg 103, Level 15, State 2, >Procedure psp_update_existing_customer_insurance_policies, Line 36 The identifier that starts with 'update_existing_customer_insurance_policies' is too long. Maximum length is 32. An error occurred while the batch was being executed.

У меня есть искривление ched this on google и не нашел никакого решения

Вопрос в том, как я могу назвать хранимую процедуру более 32 символов?

+0

Максимальная длина для хранимых процедур и функций имени 128. – chridam

+1

можно назвать ДО 128 charcters. Я не думаю, что проблема связана с именем –

+0

Вы уверены, что это Microsoft SQL Server? Как уже упоминалось, максимальная длина для имен объектов равна 128, и эта ошибка не выглядит знакомой. –

ответ

0

Моя ошибка, это было название сделки, а не имя процедуры ... Спасибо всем

Смежные вопросы