Include ROW_FORMAT in CREATE code. Fixes issue #3243.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4428 560a3889-bb33-0410-9f33-43a8a102dc09
No background gray for sorted columns any longer. Leads to confusion when mixed with the new alternating row colors. See http://www.heidisql.com/forum.php?t=12882.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4429 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Add basic support for schemas in MSSQL.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4430 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Introduce TDBConnection.QuotedDbAndTableName(), callable with a db and table string. Internally calls TDBObject.QuotedDbAndTableName(), so we get the schema between db and table if required.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4431 560a3889-bb33-0410-9f33-43a8a102dc09
Leave out "_binary" keyword on MSSQL when inserting binary files. Fixes issue #3244.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4432 560a3889-bb33-0410-9f33-43a8a102dc09
Introduce TDBConnection.FindObject(db, obj). Use that in TDBConnection.QuotedDbAndTableName() and for checks for table existence.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4433 560a3889-bb33-0410-9f33-43a8a102dc09
Copy table dialog:
* Clear db cache only once in btnOKclick
* Clear db cache of target db when done, instead of refreshing active db
* Remove unused variables
* Remove empty comment clause from CREATE TABLE code

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4434 560a3889-bb33-0410-9f33-43a8a102dc09
Inject default schema between db and table in TDBConnection.QuotedDbAndTableName if target object does not exist. See issue #3212.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4435 560a3889-bb33-0410-9f33-43a8a102dc09
* Avoid calling TDBConnection.ClearDbObjects() on active database after copying table. Instead, call actRefresh which takes care of a probably opened table object in the table editor.
* Check for table existence via SELECT on IS.TABLES, avoid usage and refresh of db objects here also.
* Fixes issue #3250.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4436 560a3889-bb33-0410-9f33-43a8a102dc09
Move helpers:GetIndexIcon to TTableKey.GetImageIndex

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4437 560a3889-bb33-0410-9f33-43a8a102dc09
Support auto_increment flag on unique key columns, in copy table dialog. Fixes issue #3250.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4438 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Filter objects by schemata when gathering columns from IS.COLUMNS in TDBConnection.GetCreateCode, so we don't get columns from objects with the same name in another schema.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4439 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Display schema name also in database tab, to make it consistent with the tree.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4440 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Consider schema name in default objects sorting, so the tree displays the same order as we have in the database tab when sorted by "Name" column.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4441 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Inject XY_SCHEMA=xy clause into all other IS queries in TAdoDBConnection.GetCreateCode.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4442 560a3889-bb33-0410-9f33-43a8a102dc09
Issue #3212: Reestablish MSSQL 2000 compatibility by removing SCHEMA_NAME(schema_id) from TAdoDBConnection.FetchDbObjects.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4443 560a3889-bb33-0410-9f33-43a8a102dc09
Documentation

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4444 560a3889-bb33-0410-9f33-43a8a102dc09
Support brackets in routine parameters. Fixes issue #3255.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4445 560a3889-bb33-0410-9f33-43a8a102dc09
"WITH .. CHECK OPTION" is already contained in the "source" value of a .frm file. Don't include it a second time in TMySQLConnection.GetCreateViewCode. Fixes issue #3258.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4446 560a3889-bb33-0410-9f33-43a8a102dc09
Do not always display NULL in a MSSQL grid field when value was edited.

git-svn-id: http://heidisql.googlecode.com/svn/trunk@4447 560a3889-bb33-0410-9f33-43a8a102dc09