What do you mean by a Functional Dependency in the process of Normalization ???

Submitted by Nizam on

A Function Dependency tells you the relation ship of two columns in the a table.Functional Dependencies are fundamental to the process of Normalization that describes the relationship between attributes(columns) in a table.

For example, if A and B are ..............

Tips: Sample SQL Script demonstrating moving row from one database table to another database table

Submitted by Nizam on

Many times such requirement comes wherein you need to copy data from one database to another database. Below is the sample sql script demonstrating the same.

You can use a three part qualifier like DatabaseName.Schema.TableName to address a table in a different database.

Use Database1

INSERT INTO Databas2.dbo.TableName
SELECT * FROM Database1.dbo.TableName

You just need to make sure the selected data matches the datatypes in the destination table.

Split view query window in SQL Server Management Studio

Submitted by Nizam on

I just logged in to the server and opened a query window to write some query on the database. Suddenly I saw something interesting in the query window which is really nice. You can split the query window in two parts, but interesting thing is if you write something in one it will automatically reflect in other window.

SQL Server Management Studio – Query Templates

Submitted by Nizam on

Template Explorer in SQL Server Management Studio is very nicely categorized with standard query templates. Are you a developer? Want to write a stored procedure, don’t type from scratch, just go to template explorer and get a standard query for stored procedure and change the names as per you naming convention.

Pages

Subscribe to inSQLServer.com RSS