- Views created, only referencing tables and views in current database.
- View name must not match with the name of table owned by that user.
- Views can be built based on other views and on procedures that reference views.
- We cannot associate Rules or DEFAULT definitions with views.
- We can only associate INSTEAD OF triggers with views.
- ORDER BY, COMPUTE, COMPUTE BY clauses and INTO keyword cannot be included in query that defines view.
- Full-text index definitions cannot be used for views.
- Temporary views cannot be created
- Views cannot be created on temporary tables.
Programming Tutorials on XHTML, CSS, JavaScript, JQuery, JSON, Python, Django, Amazon Web Services, ASP.NET, Web Forms, and SQL
Monday, July 23, 2012
Restriction on Views in Microsoft SQL Server
Restrictions are applied when we create views in Microsoft SQL Server. These restrictions are listed below :
Sunday, July 22, 2012
Checkpoints in Transaction Log in Microsoft SQL Server
Checkpoints are created in a transaction log When :
- Checkpoint is explicitly executed.
- Logged operation is performed on the database.
- Database files have been altered using Alter Database command.
- Microsoft SQL Server has been stopped explicitly or on its own.
- Microsoft SQL Server periodically generates checkpoints.
- Backup of a database is taken.
Friday, July 13, 2012
User Defined Data Types in Microsoft SQL Server
User defined data types in Microsoft SQL Server are based on system data types.
User defined data type in Microsoft SQL Server called user_string could be created based on char system data type.
User defined data types are used when multiple tables need to store the same type of data in a column and you need to ensure that all these columns are exactly the same including length, and nullability.
User defined datatype contains following parameters:
- Name
- System data type on which user defined data type is based upon.
- Nullability
For example
Service Broker in Microsoft SQL Server
Service Broker in Microsoft SQL Server allows internal and external processes to send and receive guaranteed and asynchronous messaging.
Messages can also be sent to remote servers hosting databases as well.
Service Broker use the concept of queues to put a message in a queue and continue with other applications asynchronously. This enables client applications to process messages at their leisure without blocking the service broker.
The concepts of message ordering, coordination, multithreading and receiver management is used in Service Broker to solve some major message queuing problems. It allows for loosely coupled services, for database applications.
Analysis Service Repository in Microsoft SQL Server
Microsoft SQL Server running analysis service has a repository to store objects of the computer running Analysis Services an Analysis service repository.
It stores the information about the cubes, dimensions and other objects of the analysis server.
Server computer where the analysis service is installed has by default repository an .mdf database.
It stores the information about the cubes, dimensions and other objects of the analysis server.
Server computer where the analysis service is installed has by default repository an .mdf database.
Subscribe to:
Posts (Atom)