PhpStorm 3.0: New and Noteworthy in Database Realm

There are many little things in database and SQL area that got attention in PhpStorm 3.0 release but now I just want to highlight the major ones.

Data Sources view got a new look and now includes stored procedures both from DDL scripts and real databases. The existing SQL dialects support has been redesigned with two new dialects introduced: H2 and MS Transact-SQL. So the list of supported SQL languages now looks like this:

Working with large databases is now less painful. Tables and procedures are available the moment their names are loaded. Columns, procedure parameters and other information are loaded in background afterwards.

If something is changed there’s no need to wait for the whole synchronization. Refresh only selected schemas, tables or procedures.

Database Console:

Console now remembers its state so you won’t lose statements you have never run.

If you do not want to switch editors back and forth you can run statements directly from an SQL file or any other place where SQL injection takes place: invoke “Run Query in Console” intention for the first time then use console “Execute” action shortcut as if you are in console.

Transact-SQL batch execution mode (the toggle is hidden in the console properties dialog)

4 Responses to PhpStorm 3.0: New and Noteworthy in Database Realm

I’m trying to create a DB Data Source for SQL Server 2008. Can someone tell me what I need to do (where to download JDBC driver etc) as there is no SQL Server option in a list of available JDBC Driver files (PhpStorm 3.0.1 EAP; 111.150). Thanks.