Syntax for database name MSSQL

I see that in the manual, but I what is the Syntax for MSsql. The manual does not have any examples on how to switch servers and database connections.

Examples only show the table name.

userText = event.source.parent.getComponent(“TextArea”).text
userName = system.security.getUsername()
system.db.runPrepUpdate(“INSERT INTO Comments (Name, UserComment) VALUES (?,?)”, [userName, userText])