Friday, January 22, 2016

VB Script Conversion functions

VB Script Conversion functions

CBool() - Convert to Boolean Type 
Converts an expression to a Boolean variable type that is either True or False.
CByte() - Convert to Byte Value 
Converts an expression to a Byte type (i.e. an integer value in the range 0 to 255).
CCur() - Convert to Currency Type 
Converts an expression to a Currency type (i.e. a floating-point number with up to four decimal places).
CDate() - Convert to Date Value 
Converts a formatted date string to a date variable type.
CDbl() - Convert to a Double Value 
Converts an expression to a double-precision floating point number.
CInt() - Convert to Integer Value 
Converts an expression into an integer value in the range -32,768 to 32,767.
CLng() - Convert to Long Integer Value 
Converts an expression to a long integer value.
CSng() - Convert to a Single Value 
Converts an expression into a single-precision floating-point number.
CStr() - Convert to String Value 
Converts an expression into a string value.

Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists

If you received below error while attaching a .mdf file in cluster environment please follow below steps to resolve the issue ERROR Ca...