SQL Small Helper--sql Prompt

Source: Internet
Author: User

background:

When the database design is relatively complex, large, if we are not very familiar with the script, it will be difficult to complete seemingly simple increase, delete, change, check the operation. We need a software to give the appropriate tips or help to improve the readability of the code, faster and better to complete the task.


Introduction:

SQL prompt is a plug-in that accomplishes this, and it's a SQL Server and VS plug-in that has the SQL Smart Tip feature. SQL prompt can be retrieved automatically based on the object name, syntax, and user-written code snippets of the database, intelligently providing the user with the only appropriate code choice.


function:

1) Smart Tips

Hint Table name

SQL prompt looks for a matching table name based on the database entered by the user for the user to select.


Prompt script

When the user selects a table name, SQL prompt displays its script scripts.



Hint table structure

After selecting a table, the table structure and the corresponding data type are given in addition to the script for the table.


2) SQL Help

For example: When writing the INSERT statement, enter INSERT INTOdbo. Apartment"And then enter, the SQL prompt will automatically be fully replenished.


3) Quick Output

In SQL prompt, features like shortcut keys are provided. Enter a few letters and hit the ENTER key and it will be recognized automatically.

Here are a few examples:

SSF-----------SELECT * FROM

DF-----------DELETE from

At-----------ALTER TABLE

af----------- ALTER FUNCTION

4) SQL Formatting


Basic settings:

Open VS, click SQL Prompt 5,—— Options in the menu to make major settings changes.

Note: Do not remove the Disable Code suggestions before the check.





Summary:

When we initially did not understand the structure of the table, we needed to use SQL prompt as a convenient and no-brain tool to help us accomplish our task. However, we can not rely entirely on it, or to analyze, understand the table design and its principles. Only in this way can we achieve better development and maintenance.

SQL Small Helper--sql Prompt

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.