Many times upon executing any T-SQL queries, we like to know the performance of the query at millisecond level. But SSMS provides us information at second level as below:
SELECT *
FROM Purchasing.vVendor;

Read more…
Problem: Mr. Coach has Team A and Team B whom he wishes to play for different countries. Provided the given conditions satisfied:
- Team A and Team B both shouldn’t play in the same country at same time
- Team A and Team B should play at least once for each country.
- Number of matches played will be same as number of locations.
Now Mr. Coach needs little help in scheduling matches for each of his team along with the above constraints. Let’s check out the solution.
Read more…
One unbelievable tip for the day for T-SQL users. What a “GO” statement do in T-SQL.
By definition it is a batch separator. It will run a batch and commit it. But along with that it also accepts one parameter which tells the SQL engine basically how many times to do the job.
Read more…
Recent Comments