SQL Server allows you to use programming constructs in the batches for conditional execution of statements. For example, you need to retrieve data based on a condition. If the condition is not satisfied, a message should be displ...
Monday, September 22, 2014
Sunday, July 20, 2014
How to Perform Searching Data by Using a Full-Text Search
After the full-text index has been created on a table, you can query the table by using the full-text predicates. The full-text predicates are used to specify how the search string should be searched in the table.
Predicates can ...
Populating the Full-Text Index in Search: SQL Server
After creating the full-text index, you need to populate it with the data in the columns enabled for full-text support. The SQL Server full-text search engine populates the full-text index through a process called population. Pop...
Configuring Full-Text Search in SQL Server
The full-text query feature in the SQL Server enables users to search for a wide range of text in the SQL tables. Consider an example. The sales management team of AdventureWorks, Inc. makes frequent searches on the ProductDescri...
Altering, Dropping and Renaming Views in SQL Server
In addition to creating view in sql server, database developer also need to manage them. Management of a view includes altering, dropping, or renaming described below.
Altering views
If you define a view with a SELECT * statemen...
Tuesday, May 13, 2014
How to Update Data in tables: SQL
Programmer need to modify the data in the database when the specifications of a customer, a client, a transaction, or any other data maintained by the organization undergo a change.
For example, if a client changes his address o...
Thursday, March 6, 2014
How to Apply Constraints on Columns in SQL Programming?
In SQL Programming, consider an example where a user entered a duplicate value in the EmployeeID column of the Employee table. This would mean that two employees have same employee ID. This would further results in erroneous resu...
Wednesday, March 5, 2014
What are the types of Data Integrity in SQL Programming?
If checks are not applied while defining and creating tables, the data stored in the tables can become redundant. For example, if you do not store the data about all the employees with complete address details, then the data woul...