Viewing 15 posts - 46 through 60 (of 516 total)
sharath.chalamgari (6/24/2013)
http://support.microsoft.com/kb/295305
I never thought about creating a temp table using if/else statements. Seems this is a good way. Thanks for sharing 🙂
If that was not a temp table, we can...
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 24, 2013 at 1:29 am
Danny Ocean (6/20/2013)
Thanks. Good to know something new.
+1 🙂
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 21, 2013 at 12:15 am
Rich Weissler (6/20/2013)
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 20, 2013 at 3:02 am
Got to learn something. I have never looked into Lock escalation mechanism in depth. Thanks Sourav:-)
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 19, 2013 at 10:28 pm
Hugo Kornelis (6/19/2013)
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 19, 2013 at 5:36 am
Easy one for the day! Thanks Bill:-)
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 19, 2013 at 5:05 am
GilaMonster (6/17/2013)
Lokesh Vij (6/17/2013)
DELETE FROM TableName with...
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 17, 2013 at 4:52 am
There is nothing called "No Logging" in SQL Server...there is something called "Minimal Logging". This can be achieved by using table locking hints.
DELETE FROM TableName with (TABLOCK) WHERE id...
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 17, 2013 at 3:41 am
Nice, easy and back-to-basics question; perfect for Monday mornings 🙂
Thanks Ismail!
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 16, 2013 at 10:30 pm
Stuart Davies (6/14/2013)
INSERT INTO [dbo].[IndexTable]VALUES(3, 'Value3')...
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 14, 2013 at 1:53 am
My eyes winked when I looked at this code
DROP TABLE [dbo].[IndexTable]
SELECT * FROM indextable
Qotd aks about "the output of select statement", but as per the code this will give "error"...
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 13, 2013 at 10:51 pm
kapil_kk (6/12/2013)
Good back to back questions from Maleshwar 🙂Thanks 🙂
+1
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 13, 2013 at 12:24 am
Interesting question.....completely missed and gone off-track, feeling like "pressed between the hard place and rock" 🙂
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 11, 2013 at 10:55 pm
Koen Verbeeck (6/11/2013)
Richard Warr (6/11/2013)
Louis Hillebrand (6/11/2013)
The final select returns '10' and '2012-10-10'Louis.
I get that too. Perhaps it's because I'm in the UK.
I also get that. Hugo, what is your...
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 11, 2013 at 3:39 am
Thanks Mr. Reddy!
Interesting question... I was able to solve this as I have worked such issues in the recent past.
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
June 10, 2013 at 10:30 pm
Viewing 15 posts - 46 through 60 (of 516 total)