Write a program to fetch first 10 records from a file?
Answer / Vivek Prasad
Here's an example SQL query in SQL Server to fetch the first 10 records from a file. Assuming the table is named 'TableName'.n`SELECT TOP 10 * FROM TableName;`
| Is This Answer Correct ? | 0 Yes | 0 No |
What part does database design plays a role in performance of an sql server-based application?
As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?
Can group functions be mixed with non-group selection fields in ms sql server?
How to include date and time values in sql statements?
How to create database with physical files specified in ms sql server?
Can you force a query to use a specific index?
What is the difference between indexing and hashing?
How to Insert multiple rows with a single insert statement?
What are the difference between data length and length in SQL Server-2008?
How to create new table with "create table" statements?
Explain datetimeoffset data type in sal server 2008?
How will you decide the active and passive nodes?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)