Gii Model Table Name Mssql

Hi

I have problem making Models with Gii.

I use MS SQL server for database.

If i type table names autocomplete shows me tables with Schema_name$table_name like E-FARMER-TEST$Customer.

4549

gii_table_names.jpg

If pressing Preview button table name got error "Table Name should only contain word characters, dots, and an optional ending asterisk."

4550

gii_table_error.jpg

If try insert table name “Customer” then got error “Table ‘Customer’ does not exist.”

Yii::app()->db->schema->tableNames; shows me all table names like E-FARMER-TEST$Customer

EDIT:

I created model manually. Table works.


	

public function tableName()

	{

		return 'E-FARMER-TEST$Customer';

	}



But i have now problem with columns. Column names contains space, dollar, sign and percent symbols. (like Unit Price, Prepayment %, Sell-to Addr, [Fax no_])

Dear Voime,.

i also have the same problem,.

when i use giix model generator,.it looks like i success to connect with sql server 2000

5051

giix model generator.JPG

but when i click button preview,. giix was error,. table ‘user’ does not exist

5052

error.JPG

is there anyone can solve this problem??? :-[

thank you

regards,

Redy