what is the difference between table and view
Answer / ashok
1.If we create a table it will save in database but a view is a virtual image there is no physical existance.
2. We can use order by clause in tables but views does not support order by clause.
3.In a view we can specify only a select statement inside a view but in tables we use all dml,ddl statements.
4.If we updating a base table using view which contains joins may not update correctly,but in tables we can update using joins.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.
As per your opinion what are the five top responsibilities of a dba? : sql server database administration
where the connection string store in the database
What are the Pre Requisites when you apply Srvice Packs?
How to create a login account in ms sql server to access the database engine using "create login" statements?
WHAT IS TRIGGERS IN SQL? AND WHAT IS THE BENIFIT?
What is order of B+tree?
How can we write or define DDL statements in Sql server and DML statements?
What is standby servers? Explain types of standby servers.
What do you mean by cardinality?
Write a query to include a constraint, to check whether the employee salary is greater than 5000?
Explain the truncate command?
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)