![]() |
#4 |
Участник
|
Цитата:
P.S. Кстати, где написано, что 1024? Из хелпа (кстати, насколько я помню - это один из официальных источников): - TEXT - Use this simple data type to denote a text string. The string can be from 1 to 250 characters in length. The length of a text variable equals the number of characters in the string. An empty text string has a length of zero (0). - CODE - Use this simple data type to denote a special type of string that the system converts to uppercase and removes any trailing or leading characters. A code variable can be from 1 to 250 characters in length. The length of a code variable equals the number of characters in the text, without leading or trailing spaces. - CHAR - Use this simple data type to store a single character as a value in the range 0 to 255.... - SQL Server Data Types: Every available Microsoft Dynamics NAV data type is mapped to an appropriate SQL Server data type in the tables of the SQL Server Option for Microsoft Dynamics NAV. The following table shows which SQL Server data type is used for the corresponding Microsoft Dynamics NAV data type: Microsoft Dynamics NAV Data Type // SQL Server Data Type : Integer // INTEGER Option // INTEGER Code(n) // VARCHAR(n), INTEGER, SQL_VARIANT Text(n) // VARCHAR(n) Decimal // DECIMAL(38,20) Date // DATETIME Time // DATETIME Boolean // TINYINT Binary(n) // VARBINARY(n) BLOB // IMAGE DateFormula // VARCHAR(32) TableFilter // VARBINARY(252) BigInteger // BIGINT Duration // BIGINT DateTime // DATETIME GUID // UNIQUEIDENTIFIER RecordID // VARBINARY(n) Each of the SQL Server data types is created as NOT NULL except the IMAGE type, which allows NULL. There are other SQL Server data types than those listed in the previous table. You can use and modify these from within Microsoft Dynamics NAV when you have created or altered SQL Server tables or views outside Microsoft Dynamics NAV. |
|