SQL assistant-SQL Prompt and SQL assistant prompt

Source: Internet
Author: User

SQL assistant-SQL Prompt and SQL assistant prompt
Background:

When the database design is complex and huge, if we are not very familiar with the script, it will be difficult to complete seemingly simple addition, deletion, modification, and query operations. We need a software to provide corresponding prompts or help to improve code readability and accomplish tasks faster and better.


Introduction:

SQL Prompt is a plug-in that completes such a function. It is an SQL Server and VS plug-in with the SQL smart Prompt function. SQL Prompt can be automatically searched based on the database object name, syntax, and user-written code segments. It intelligently provides users with the unique and appropriate code selection.


Purpose:

1) Smart notification

Prompt table name

SQL Prompt searches for matched table names based on the database you enter for the user to choose from.


Script prompt

After you select a table name, SQL Prompt displays its Script.



Prompt table structure

After the table is selected, in addition to the script for the table, the table structure and corresponding data type of the table are also given.


2) SQL help

For example, when writing an INSERT statement, enter "insert into dbo. Apartment" and press Enter. The SQL Prompt is automatically complete.


3) Quick output

SQL Prompt provides functions similar to shortcut keys. Enter a few letters and press the Enter key to automatically recognize the input.

The following are examples:

Ssf ----------- SELECT * FROM

Df ----------- DELETE FROM

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

Af ----------- ALTER FUNCTION

4) SQL formatting


Basic settings:

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

Note: Do not remove the check mark before Disable Code Suggestions.





Summary:

When we first had a poor understanding of the table structure, we needed SQL Prompt, a convenient and easy-to-use tool, to help us complete the task. However, we cannot rely on it completely. We still need to analyze and understand the table design and its principles. Only in this way can we achieve better development and maintenance.

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.