What is the use of SYNONYM?

In some enterprise systems, you may have to deal with remote objects over which you have no control. For example, a database that is maintained by another department or team. Synonyms can help you decouple the name and location of the underlying object from your SQL code. That way you can code against a synonym … Read more

ALTER TABLE on dependent column

I believe that you will have to drop the foreign key constraints first. Then update all of the appropriate tables and remap them as they were. ALTER TABLE [dbo.Details_tbl] DROP CONSTRAINT [FK_Details_tbl_User_tbl]; — Perform more appropriate alters ALTER TABLE [dbo.Details_tbl] ADD FOREIGN KEY (FK_Details_tbl_User_tbl) REFERENCES User_tbl(appId); — Perform all appropriate alters to bring the key … Read more

What is the default transaction isolation level for SQL Server with ADO.NET?

READ COMMITTED is the default isolation level for the Microsoft SQL Server Database Engine. Source: Customizing Transaction Isolation Level @ MSDN. Here is how it compares to other isolation levels: Transaction Isolation Levels @ MSDN. The MSDN documentation for SqlConnection.BeginTransaction() also states Read committed … To reset the isolation level to the default (READ COMMITTED) … Read more

How would one use Lucene.NET to help implement search on a site like Stack Overflow?

The answers you are looking for really can not be found using lucene alone. You need ranking and grouping algorithms to filter and understand the data and how it relates. Lucene can help you get normalized data, but you need the right algorithm after that. I would recommend you check out one or all of … Read more