Syntax for database name MSSQL

I have a button and I want to insert Data to 2 tables on 2 different servers. The default database works good. but the non-default table fails.