REset the Identiy Column to Zero
------------------------
Copy a table from another Database to current database:
SELECT * INTO Login_AtemptsCheck FROM DashBoard.dbo.Login_AtemptsCheck
1) Login_AtemptsCheck: Is a New table name in current database
2) DashBoard: Existing database from where we take the table
3)dbo.Login_AtemptsCheck: Tbale name from the database DashBoard which contains data
Example 2:
select * into new_Table_Name from DataBase_Name.Exixting_Table_Name
=======================================================================
Sql Error handling
http://www.mssqltips.com/sqlservertip/1027/sql-server-2005-try-and-catch-exception-handling/
=====================================================================
Geometry Data Type in sql Example
http://www.freddes.se/2008/09/25/net-and-spatial-data-with-sql-server-2008-part-1/
2) http://robertoschiabel.wordpress.com/2011/03/16/locations-in-this-area-sql-server-geography-datatype/
==================================================
DBCC CHECKIDENT ( tbl_MOduleImages,RESEED,0)
Synatx :
DBCC CHECKIDENT (tbl_name,RESEED,0)
------------------------
Copy a table from another Database to current database:
SELECT * INTO Login_AtemptsCheck FROM DashBoard.dbo.Login_AtemptsCheck
1) Login_AtemptsCheck: Is a New table name in current database
2) DashBoard: Existing database from where we take the table
3)dbo.Login_AtemptsCheck: Tbale name from the database DashBoard which contains data
Example 2:
select * into new_Table_Name from DataBase_Name.Exixting_Table_Name
=======================================================================
Sql Error handling
http://www.mssqltips.com/sqlservertip/1027/sql-server-2005-try-and-catch-exception-handling/
=====================================================================
Geometry Data Type in sql Example
http://www.freddes.se/2008/09/25/net-and-spatial-data-with-sql-server-2008-part-1/
2) http://robertoschiabel.wordpress.com/2011/03/16/locations-in-this-area-sql-server-geography-datatype/