|
|
-
|
|
As I have informed you earlier in this post, there are some interesting tips I have contributed in September 2011. You may find them interesting if you follow them. The following are some of my tips I posted there
Most Learned Posts of all time
You can drop multiple tables using single DROP statem......
|
|
-
|
|
Pinal Dave, SQL Server MVP, Blogger,Speaker and Evangelist is the co-author of the part 4 of the series SQL Programming Joes 2 Pros: Programming & Development For Microsoft SQL Server 2008 (SQL Exam Prep Series 70-433 (Volume IV)
This book is good one for those who are interested in learning S......
|
|
-
|
|
One of my friends asked me if it is possible to get SQL Server version number and edition name by parsing the result returned from @@VERSION. The system function @@VERSION gives information about the version and operatiing system information of the Server.
The following code parses the result of @@......
|
|
-
|
|
Out of these four queries, only one query will throw an error. Without running these queries find out the query and error message that it would generate.
Queries
Query 1 : select top 1 1 from sysobjects,syscolumns where 1=1
Query 2 : select top 1 1 from syscolumns,syscolumns where 1=1
Query 3 : ......
|
|
-
|
|
Many of you know that new quiz series for DBAs has started at www.beyondrelational.com. You can find all questions here. I am one of the quiz masters and I have an interesting question for DBAs. Here is the detail of the question that I ask.
Assume that in your database there is a table named test ......
|
|
-
|
|
Yes but partly. Let us explore this with examples
We have a system procedure sp_who that returns the informations about the current connections, users, sessions etc. Let us create a new database named test and create sp_who inside it.
Case 1
Create database test
GO
Use test
GO
create procedu......
|
|
-
|
|
As I have informed you earlier in this post, there are some interesting tips I have contributed in August 2011. You may find them interesting if you follow them. The following are some of my tips I posted there
Most Learned Posts of all time
You can drop multiple tables using single DROP statement......
|
|
-
|
|
Brent Ozar, a SQL Server MCM and MVP, posted about Top 10 SQL Server DBA Interview Questions. The question no 10 is about solving FizzBuzz problem. The FizzBuzz problem is described as
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead......
|
|
-
|
|
As you know I have started a new series on "Exploring SSMS" by which I will be posting some features that are available in SSMS which will be very helping during the development. In this post we will see how to copy the results with column names included. Suppose you want to export the query result ......
|
|
-
|
|
Without running the query, can you guess the answer?
Query
select 100.-89_90
Answers
Answer 1 : Incorrect syntax near .
Answer 2 : _79
Answer 3 : Incorrect syntax near 89_90
Answer 4 : 11
......
|
|