Copy Queries (Visual Database Tools)
Applies to:
SQL Server
You can copy the body of a query into a new query to use as a starting point.
To copy a query
From the View menu, click Solution Explorer.
In Solution Explorer, right-click the query you want to copy and from the shortcut menu choose Open.
In the SQL pane, copy the portion of the query you want to copy.
Create a new query or open the query where you want to paste the copied SQL.
Position the cursor where you want to add the SQL code.
Right-click and from the shortcut menu click Paste.
See Also
Rename Queries (Visual Database Tools)
Clear Query Results (Visual Database Tools)
Save Queries (Visual Database Tools)
Perform Basic Operations with Queries (Visual Database Tools)
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για