I don't know if this is what IMail is trying to do but SQL Server won't let you create tables with names that start wit numbers. From SQL Server BOL:
 
CREATE TABLE (T-SQL)
Table names must conform to the rules for identifiers
 
Using Identifiers
Rules for Regular Identifiers
The rules for the format of regular identifiers are dependent on the database compatibility level, which can be set with sp_dbcmptlevel. For more information, see sp_dbcmptlevel. When the compatibility level is 70, the rules are:
 
The first character must be one of the following:
A letter as defined by the Unicode Standard 2.0. The Unicode definition of letters includes Latin characters a-z and A-Z, in addition to letter characters from other languages.
The _ (underscore), @ (at sign), or # (number sign) symbol.
Certain symbols at the beginning of an identifier have special meaning in SQL Server. An identifier beginning with @ denotes a local variable or parameter. An identifier beginning with # denotes a temporary table or procedure. An identifier beginning with double number signs (##) denotes a global temporary object.
 
Some Transact-SQL functions have names that start with double at signs (@@). To avoid confusion with these functions, it is recommended that you do not use names that start with @@.
 
Subsequent characters can be:
Letters as defined in the Unicode Standard 2.0.
Decimal numbers from either Basic Latin or other national scripts.
The @, $, #, or _ symbols.
The identifier must not be a Transact-SQL reserved word. SQL Server reserves both the uppercase and lowercase versions of reserved words.
Embedded spaces or special characters are not allowed.
 
Cheers,
 

Andrew Coates
Civil Solutions
Ph + 61 (2) 9344 4993 (GMT+10) - Fax +61 (2) 9345 0893
PO Box 1510, MAROUBRA NSW 2035, AUSTRALIA

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian McCarty
Sent: Fri, 28 Jul 2000 11:11
To: [EMAIL PROTECTED]
Subject: Fw: [IMail Forum] Domains beginning with a number

Any thoughts?
 
----- Original Message -----
Sent: Thursday, July 27, 2000 12:41 PM
Subject: [IMail Forum] Domains beginning with a number

I have iMail 6.03 installed on W2K using an external SQL 7.0 database. Everything works fine except when I create a virtual domain with a name beginning with a number (i.e. 4myco.com). The table is not created in the database. Tables are created fine with names beginning with a character (i.e. myco.com).
 
How do I fix this?

Reply via email to