Home Cart [Log In] About Us Contact Us

Object Reference

xf_DbSchemaDatabase Schema Information

Public Function GetUnicodeLengthDivisorFromMSSQLXType (
MSSQLXType As Integer
) As Integer

Get the MSSQL divisor for the length specification passed in the SQL schema. 2 for unicode var types, 1 for ANSI types

MSSQLXType as Integer

The MSSQL extended type ID

Call Template:

Dim i As Integer
i = xf.DefaultSchema.GetUnicodeLengthDivisorFromMSSQLXType(MSSQLXType)

See Also:

Example 1:

TypeDescription = objSchema.SqlColumnFormatString(xf_SQLColumnFormat_Integer)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd