How to: Connect to a SQL Server Database with "Quadrant"
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
This topic shows how to connect Microsoft code name “Quadrant” to a SQL Server database. You can create multiple sessions per database. For more information about sessions, see About Database Sessions in "Quadrant".
Once you have created a session, you can create, update, and delete rows from a table. For more information about editing data, see Editing Data in "Quadrant".
If the instance of SQL Server is on a remote machine, you must enable it to allow remote connections. For more information, see How to: Enable Remote Connections on SQL Server.
Database Sessions
To create a new session
In “Quadrant”, on the File menu, click New, and click Session… (or press Control-Shift-N). The New Database Session dialog box appears.
In the Server box, type the name of the computer that is hosting the instance of SQL Server. If the instance is on the same computer that “Quadrant” is installed on, leave the box set to "." (period). The period indicates that the current computer hosts the database.
Tip
If you have already connected to a server in a previous session by using “Quadrant”, click the dropdown arrow. The names of previously-used servers appear in the drop-down list.
In the Database box you can set the name of a database. If the database uses Windows authentication, click the drop-down button to see all databases that are discoverable. If the database uses SQL Server authentication, type the name of the database.
The session name box is populated with the name of the database. You can overwrite the value as long as it is unique. That is the name that will be displayed in the explorer to identify the session.
Optional. Click the More heading to change how the user is authenticated.
Set the Authentication method to either Windows Authentication or SQL Server Authentication.
Set the UserName and Password fields as appropriate to the authentication method.
Click the Create button.
Note
If the attempt to connect fails, an error window appears with the name of the failed database connection as the title. You can press F5 to try to connect again.
To connect to a SQL Azure database
On the File menu, click New, and then click Session.
In the Server box type the TCP address of the database. For example:
tcp:yourServer.ctp.database.windows.net
In the Database box type the name of the database.
Optional. Overwrite the value in the Session Name box to rename the session.
Click More to expand the section.
Click Authentication and select SQL Server Authentication.
In the Username box type your username in the format:
user@server: user@ yourServer
In the Password box, type your password.
Optional. Click the Remember password option box.
Click Create.
To access a session with no open workpads
- On the View menu, click Explorer. A menu list appears containing the names of all open sessions. Click a database name to show it in a workpad.