Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Database 1
« Previous
Next »
Which of the following command executes faster?
Options
- Copy to < New file>
- Copy File < FILE 1>< FILE2>
- Copy Structure to < NEW FILE>
- Copy to M FILE-DAT DELIMITED.
CORRECT ANSWER : Copy Structure to < NEW FILE>
Discussion Board
Copy Structure to < NEW FILE>
Copy Structure to < NEW FILE> command creates a new, empty table with the same structure as the currently selected table.
Syntax:
COPY STRUCTURE TO TableName [FIELDS FieldList]
[[WITH] CDX | [WITH] PRODUCTION]
[DATABASE cDatabaseName [NAME cTableName]]
Parameters are as follows:
1. TableName: It specifies the name of the new, empty table to create.
2. FIELDS FieldList: It specifies that only the fields whose names are specified in the FieldList are copied to the new table. If you omit FIELDS FieldList, all fields are copied to the new table.
3. [WITH] CDX | [WITH] PRODUCTION: It creates a structural index file for the new table that is identical to the structural index file of the existing table. The tags and index expressions from the original structural index file are copied to the new structural index file. The CDX and PRODUCTION clauses are identical.
4. DATABASE cDatabaseName: It specifies the name of an existing database to which the new table is added. Note that the table and field properties are not copied to the database.
5. NAME cTableName: It specifies the name of the table as it appears in the database.
Prajakta Pandit 03-14-2017 08:08 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
SQL Server (40)
SQL Server (28)
SQL Server (25)
Data Warehousing (10)
Biztalk (15)
SQL Server DBA (15)
Database (30)
Database (28)
DBMS (20)
Advertisement
▲