"DB query analyzer" in "Zhongguancun online"In the Daily Download ranking, there are basically between 15th and 17th.
This is another one to commemorate.
In theZhongguancun online", This week's database category rankingDB query analyzer ranks 15th. It's not easy to rank 1 person!
The total number of downloads is8653
The procedure is as follows:
1. Set the Server Authentication attribute to hybrid mode (window and SQL authentication)
2. on the control panel, open service and open properties for the MSSQLServer Service. On the logon page, set the logon identity to the local account and password of the server, such as administrator and password 123;
3. Restart the sqlserver service. At this time, the service refers to the SQL Server service in [SQL Service Manager;
Assume that the [account] is set to admin
At the request of a friend susue, I want to publish a new version of susue ~ By the way, I hope you can give me some comments ~ Thank you ~ The running effect is as follows:
A. NET Framework is required
Superficial, with less than 50 lines of code
SQL Server Query Analyzer of B/S by susue 2005-2-26
SQL Server Query Analyz
Based on the SQL Server 2000 query analyzer core, the single-file Green Edition tool is virtualized and encapsulated in person, you can quickly access the SQL server instance and execute SQL code scripts without installing SQL query analyzer on your machine or client server.
Tested in person, you can connect to the
that may be used when querying Key: The index that was actually used when querying Key-len: Length of index field Rows: Number of scanned rows Extra: Description and description of the implementation Through the analysis of explain, it is confirmed that in the above example, the full table scan of the sales table results in inefficient, by creating an index on the sales table: www.2cto.comSQL codeCREATE INDEX index_sales_year on sales (year); After the index is created, the
Simplified query Analyzer
I personally feel that after Lucene became the Jakarta project, it took too much time to debug the increasingly complex queryparser, most of which are not very familiar to users. Currently, Lucene supports the following syntax:
Query: = (clause )*Clause: = ["+", "-"] [
The intermediate logic includes: And or +- | and phrase queries and p
Several problems encountered when reading Excel in the sql2005 query analyzer, collected all the resources on the Internet, and finally solved the problem. Many answers on the Internet are pasted and copied, therefore, it cannot be used in the actual environment. I believe many of my friends have encountered the same mistakes. To avoid the same mistakes, I would like to share them with you:Environment:Syste
Query Analysis | Using shortcut keys
ALTER procedure Sp_getfields
@tablename varchar (100)
As
DECLARE tmpcursor cursor FOR
Select name from syscolumns where id = object_id (@tablename)
Open Tmpcursor
DECLARE @fieldname varchar (50)
DECLARE @sqlstr1 varchar (250)
DECLARE @sqlstr2 varchar (250)
Set @fieldname = '
Set @sqlstr1 = '
Set @sqlstr2 = '
FETCH NEXT from Tmpcursor into @fieldname
While @ @fetch_status = 0
Begin
If Len (@sqlstr1) Set @sqlstr1 =
Query Analysis | scripts
--With the following script, you can get the script of the creation of any object, the Internet seems to be circulated, but the things that belong to their own use or feel comfortable.
--When you add a shortcut key, you can then display the object's script by pressing the shortcut key in the Query Analyzer.
SET QUOTED_IDENTIFIER ON
Go
SET
Many people in the use of SQL Server Query Analyzer will encounter a problem, that is, the operation of the official library, worry about additions and deletions in case the wrong thing to do? The data is priceless!Do we have to write a business statement every time to do this thing?SMSS has actually provided me with a function to open the transaction on the Query
Calculator is a lot of programming beginners have done, starting from the simplest console program, input values, input operators, and then enter a value, to get a result. The interface is basically modeled on the Windows operating system calculator, through the button input values and operators, and then give the results of the operation. Can you directly enter an expression, or you can calculate several expressions, or select a part of an expression to calculate, if the input error can indicat
If the primary database fails, Microsoft's SQL Server may enthusiasts down. See how you can handle this event to find out how to repair the primary database with Enterprise Manager and Query Analyzer.
As an administrator of Microsoft SQL Server, you must know how to fix a crashed primary database. The primary database holds your login information and, most importantly, pointers to all of your databases. If
1. a case where the stored procedure does not return a value ( that is, a statement in a stored procedure statement that does not have a return )Using the method int count = ExecuteNonQuery (..) There are only two cases of executing a stored procedure whose return value(1) If the stored procedure is executed through the Query Analyzer, the number of rows affected in the display bar is affected by a few rows
. Ctrl+hEDIT: Select All. CTRL + AEdit: Undo. CTRL + ZExecutes the query. You can also use ctrl+e (for backward compatibility). F5 function keysSQL Query Analyzer Help. F1 function keysHelp for the selected Transact-SQL statement. Shift+f1Browse: Toggle between the query pane and the Results pane. F6 function keysBrows
Data | Database Many people must have used Query Analyzer, the function of this tool how, I do not need to say, this time to introduce under the Web under the Query Analyzer, the interface as shown in Figure 1, using ASP to write.
(Figure 1)
The source program is as follows:
Dim conn
Dim connstr
On Error Resume Nex
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.