powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / ГЛЮК С РАЗМЕРОМ СТОЛБЦА
2 сообщений из 2, страница 1 из 1
ГЛЮК С РАЗМЕРОМ СТОЛБЦА
    #32035123
john
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
ПРОБЛЕМА:
Сервер SQL2000
Клиент VFoxPro7
Есть таблица с колонкой типа CHAR(40)
При попытке внести новую строку или отредактировать старую более 10 символов через представление
выдается ошибка -
String or binary data would be truncated.
Если делать через sql-запрос все получается.
...
Рейтинг: 0 / 0
ГЛЮК С РАЗМЕРОМ СТОЛБЦА
    #32035131
guest
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
sp_refreshview
Refreshes the metadata for the specified view. Persistent metadata for a view can become outdated because of changes to the underlying objects upon which the view depends.

Syntax
Код: plaintext
sp_refreshview [ @viewname = ] 'viewname' 


Arguments
Код: plaintext
[@viewname =] 'viewname'

Is the name of the view. viewname, which can be a multipart identifier, is nvarchar, with no default.

Return Code Values
0 (success) or a nonzero number (failure)

Permissions
Members of the sysadmin fixed server role, the db_owner and db_ddladmin fixed database roles, and the view owner can execute sp_refreshview on a view.

Examples
This example refreshes the metadata for the view titleview.

Код: plaintext
exec sp_refreshview titleview
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / ГЛЮК С РАЗМЕРОМ СТОЛБЦА
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]