Forum Replies Created

Viewing 15 posts - 211 through 225 (of 728 total)

  • RE: Hekaton

    Very very good question mascot. That was the only thing I knew about SQL 2014 so i shot it down quickly. 🙂

    Thats the benefit we get on this platform. We...

  • RE: T-SQL counts

    In between, simple and good QOTD. 🙂

  • RE: T-SQL counts

    Jamsheer (10/3/2013)


    tom.w.brannon (10/2/2013)


    I believe the problem is a difference in how distinct gets used in different contexts. For the following queries

    select count(distinct id) from #temp_test;

    select distinct id from #temp_test;

    select...

  • RE: Extended Procs

    Dana Medley (10/1/2013)


    Koen Verbeeck (9/30/2013)


    Nice question. Never even heard about it, made me do some research.

    +1 Good question. Never really used these, so it was good to do some research...

  • RE: Variable Declaration

    Thanks to some QOTD asked some time back, I was able to answer it correctly without giving second thought. The errors with the script in SQL 2005 were interesting.

    Though...

  • RE: Reserved Words - 1

    very good question. 🙂

  • RE: Visibility

    Good QOTD. 🙂

  • RE: I need help Please :(

    Hi Just check this one:

    create table dbo.Emp

    (EmpID varchar(5), Empname varchar(20), Logdate date, Timein time, Timeout time)

    insert into dbo.Emp select '1001', 'Steve', '20130928', '11:30 am', '02:30 pm'

    insert into dbo.Emp select '1001',...

  • RE: Truncate

    sknox (9/30/2013)


    Good question, but the answer isn't quite right.

    You cannot use TRUNCATE TABLE on tables that are referenced by a FOREIGN KEY constraint UNLESS that table has a foreign key...

  • RE: Update script

    SELECT 'UPDATE table_1

    SET labeltext ='+ T.labeltext +

    'WHERE LanguageID = 10

    AND LabelKey ='+ T.LabelKey +

    'AND FileID =' + T.FileID

    Try this one. You are forgetting one "+" on the right...

  • RE: Truncate

    balde (9/30/2013)


    thanks for the question....

    and for anyone else asking the question "why would you?":

    🙂

    Thanks balde for posting the link. Definitely there might be some rare cases where such implementation is...

  • RE: Filestream data

    Koen Verbeeck (9/26/2013)


    Didn't even have to think for this one. Which is nice for a Friday 😀

    Same here. After long long time, I didn't had to think twice. Happy weekend....

  • RE: Printed Books Vs E-Books

    For me, it's definitely the hardcopies. I've so many pdfs in my lappy but couldn't complete any and the only one's i've completed are the hard copied. Somehow I cannot...

  • RE: Executing Dynamic SQL

    Good question and equally good explanation. 🙂

  • RE: It Happens

    In today's scenario, many of the times, the code which is correct today may become incorrect (or inefficient) tomorrow based on the frequently changing scenarios and/or improvements. So any change...

Viewing 15 posts - 211 through 225 (of 728 total)