Categories
Sql Server

How to create user defined data type in Sql server

Data Type:- Objects that contain data have an associated data type that defines the kind of data the object can contain. Alias Data type:- Alias types based on the system data types in SQL Server. Alias types are used when several tables must store the same type of data in a column and you have […]

Categories
Sql Server

Database Snapshot In SQL Server

Database Snapshot In SQL Server A database snapshot provides a read-only, static view of a source database as it existed at snapshot creation time, minus if any uncommitted transactions is their. Database snapshots are dependent on the source database. The snapshots of a database must be on the same server instance as the database. Snapshots […]

Categories
Sql Server

SQL Server Schema Ownership

 SQL Server Schema Ownership To display the ownership of the schemas in sql server run the following query. To display ownership of all Schema(Query) :- SELECT * FROM INFORMATION_SCHEMA.SCHEMATA To display only specific schema information (Query):- SELECT * FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = ‘your schema name’; How to alter authorization of schema:- ALTER AUTHORIZATION ON […]

Categories
Sql Server

How To Create Database In SQL Server

How To Create Database In SQL Server In this tutorial we will let you know How To Create Database In SQL Server.What is SQL (SQL is a standard language for accessing databases,Creating database and a lot more). Our SQL tutorial will teach you how to create a database in Sql server management Studio: Video:-