Question

SQL Question: 1:The SCRIPT...AS command in the SSMS will A. Execute a command to create the...

SQL Question:

1:The SCRIPT...AS command in the SSMS will

A. Execute a command to create the object.

B. Retrieve the properties of the object.

C. Retrieve a data result-set.

D. Create a query script of the object.

2:As queries are written, if the IntelliSense is enabled in the SSMS, there will be

A. Indents added to the second line.

B. Comments automatically added.

C. Table and column options.

D. New query windows available.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Dear Student ,

As per requirement submitted above kindly find below solution.

Question 1:

Answer :D. Create a query script of the object.

Explanation :

  • The Script As command in SSMS will create a query script of the object.
  • like create table , drop table , insert , delete , update etc.
  • Script as is executed on already created object
  • To Retrieve the property of object need to click on property option

*********************************

Question 2:

Answer :C. Table and column options.

Explanation : if the IntelliSense is enabled in the SSMS then Table and column options will be shown.

*********************************

NOTE :PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.

Add a comment
Know the answer?
Add Answer to:
SQL Question: 1:The SCRIPT...AS command in the SSMS will A. Execute a command to create the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • SQL Question: The SSMS lets you do all but which of the following: A. Create a...

    SQL Question: The SSMS lets you do all but which of the following: A. Create a new database. B. View the tables and their properties. C. Write queries in the query editor. D. Create a GUI front end for the database.

  • 1.) Using MS SSMS, create a new query file (sql) and write and execute SQL statements...

    1.) Using MS SSMS, create a new query file (sql) and write and execute SQL statements to insert at least five records in each table, preserving all constraints. Put in enough data to demonstrate how the database will function [name the file PopulateDBWithData.sql]. 2.) Using MS SSMS, create a new query file (sql) and write SQL statements that will process five non-routine requests for information from the database just created. For each, write the request in English (using the --...

  • Create a Windows batch script that: Execute the correct commands redirecting output to command-name.txt in BootDrive\newfolder2...

    Create a Windows batch script that: Execute the correct commands redirecting output to command-name.txt in BootDrive\newfolder2 in order to get the output below: Environment variable System information Mac address (You cannot use the ipconfig command) DNS table Export the system.evtx file to BootDrive\newfolder2\sys.evtx Use a FOR loop to: Execute hostname and send the output to a variable host Output the variable host to BootDrive\newfolder2\casefile\host.txt Use an if statement to determine if sys.evtx exists (from #4) If sys.evtx exists echo sys.evtx...

  • The following question uses Microsoft SQL Server. Create a simple stored procedure that does not expect...

    The following question uses Microsoft SQL Server. Create a simple stored procedure that does not expect any parameters and contains a single T-SQL statement. Create the stored procedure as PurchaseOrderInfo This stored Procedure should return a result set consisting of ProductName, PurchaseOrderID, PurchaseOrderDetailID, OrderDate, TotalDue and ReceivedQty. Refer to the schema AdventureWorks2012.Production and AdventureWorks2012.Purchasing to access the necessary tables needed to generate the following output. EXECUTE the stored procedure in 2 ways. Using the simple EXECUTE keyword, and Using EXECUTE...

  • Create the database and tables for the database. Show all SQL statements. Include primary and foreign...

    Create the database and tables for the database. Show all SQL statements. Include primary and foreign keys. Insert data into each table. Show select statements and display the output of each table. Note:Student’s name must be inserted into table as part of the data! Perform the SQL below: Query one table and use WHERE to filter the results. The SELECT clause should have a column list, not an asterisk (*). State the purpose of the query; show the query and...

  • QUESTION 1 Match the following: an SQL command that retrieves data A. Communicate B. RETRIEVE C....

    QUESTION 1 Match the following: an SQL command that retrieves data A. Communicate B. RETRIEVE C. exception D. ReadFile E. STORE F. array G. try - catch block H. Connection I. Disconnect0) J. StreamReader K. Respond L. SQL M. Fork N. Query O. BlowUp P. SELECT Q. Close0 R. StreamWriter S. WriteFile T. UPDATE an SQL command that changes data ., class that can be used to read data from a file , establishing communication with a database a method...

  • For each question, write a SQL query and save it as a "sql" file using a...

    For each question, write a SQL query and save it as a "sql" file using a different query 2, etc. Please execute these queries sequentially name, for example, query1.query product id (PK) category brand production_cost (Not Null) (FK) name (Not Null) Toothpaste Supermarket 1 Multivitami Supermarket 2 Shampoo acket T-shirt Supplements Supermarket Department4 Department5 Pharmacy Pharmacy 6 6 10 Query1. Update the Product table by adding another column as shown above ucts (name) with uery2. Retrieve all the uction cost...

  • Chapter 2 How to use the Management Studio Before you start the exercises... Before you start...

    Chapter 2 How to use the Management Studio Before you start the exercises... Before you start these exercises, you need to install SQL Server and the SQL Server Management Studio. The procedures for doing both of these tasks are provided in appendix A of the book. In addition, you'll need to get the Exercise Starts directory from your instructor. This directory contains some script files that you need to do these exercises. Exercises In these exercises, you'll use SQL Server...

  • SQL QUERIES 1) Using the Product and PC relations, create both tables in your database and...

    SQL QUERIES 1) Using the Product and PC relations, create both tables in your database and insert all the data. Show the SQL statements to create each table and show a representative SQL insert statement for the data in each table (i.e. you do not need to show insert statements for all the data). – For the remaining questions, assume that your SQL is part of a program function and the function provides the input needed for your SQL query....

  • Q.5] Answer the following questions based on the company database (based on the homework assignment 2) y dat...

    Q.5] Answer the following questions based on the company database (based on the homework assignment 2) y database (based on the homework assignment 2) 3 IPage 1. For each department whose average employee salary is more than $30,000, write a SQL statement to retrieve the department name and the number of employees working for that department 2. Write a SQL statement to retrieve first name, last name, and address of each employee who lives in Houston, TX. 3. Write a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT