SqlDbx is an easy-to-use database connection tool, SQL editor, and SQL query tool. Statement rules are prominent, intelligent, automatic completion, and many other features. Supports Oracle, Sybase ASE, IBM, DB2/UDB, MicrosoftSQL Server, MySQL and ODBC data sources.
You can see how many tables, how many stored procedures, how many triggers, how many views, and how many functions there are in the library, you can directly see the number of data rows in each table, you can export the insert statement of the query result, and you can compare the same data in different libraries A table diff and so on.
SqlDbx is an advanced SQL editor and database object explorer. The interface is intuitive and the operation is simple, so that developers can easily master it and improve their development efficiency. SqlDbx is an independent executable file, green software that does not need to be installed, occupies less resources, and has the advantages of fast database access.
How to log in to the SQlDbx tool
First, enter the corresponding database connection type. The most commonly used ones here include MS SQLServer, Access database, MYSQL database, Oracel database, etc. Here we explain how to connect to Microsoft's database MS SQLServer
(1) DBMS type: MSSQLServer
(2) Server server address: 127.0.0.1 (this machine), if it is another computer, please enter the corresponding computer name or database instance, such as 192.168.1.180, etc.
(3) DataBase: You can fill in or not fill in here, and then select the database after logging in
(4) User: sa
(5) Password: sa, etc., which are generally created when the database is installed again. If you are not sure, you can consult the database administrator
The interface after login
The uppermost area is the server area, the left side is the corresponding table information, the right side is the query statement window, and the bottom side is the query data result
How to query the structure of the table, we can view the corresponding table information on the left
Then let's write a simple database SQL statement to query a record
SELECT * FROM PMP_Contract_DSet
The corresponding data information can be queried below
How to get the script of the current table
We can select a table and right-click Script to create the corresponding SQL script.
as follows
IF OBJECT_ID (‘dbo.ddd’) IS NOT NULL
DROP TABLE dbo.ddd
GO
CREATE TABLE dbo.ddd
(
DetailId UNIQUEIDENTIFIER NOT NULL,
PMP_Contract_HContractID UNIQUEIDENTIFIER NOT NULL,
ContactContent NVARCHAR (max) NOT NULL,
ContractID UNIQUEIDENTIFIER
)
GO
What needs to be explained here is that the generated script cannot be used indiscriminately, because the operation of deleting the table is included by default.
How to export data to EXCEL (for users with Office)
We all know that database management tools can be exported to spreadsheets, so how can we export them? Let me explain here. If the computer is installed with Office and other components, you can directly export them.
We select the data corresponding to the query, and then right click to have the function of [Output] => [Excel]
How to export data to EXCEL (for server users or users without Office)
Many server systems do not have Office installed, but we can also export, here we directly choose
Corresponding to the queried data, and then right click to have the function of [Output] => [CSV] file.
Note: The CSV format is opened by default and is similar to the spreadsheet. You can pay attention to it. Generally, the Android phone address book is exported in this format. The support is better, so I won’t go into the format. In addition, if you find this article helpful, please like it ,Thanks.
Well, let’s stop here for now, I hope everyone will support us and provide you with more convenient and quick tool sharing to improve efficiency.