Forum Replies Created

Viewing 15 posts - 976 through 990 (of 1,033 total)

  • RE: The T-SQL Quiz

    Mike C (5/29/2007)


    God-awful loops and cursors. It's all I seem to see these days, and getting people to think about changing them? Even when you can demonstrate 100%, 200%, 500%,...

  • RE: The T-SQL Quiz

    Adam Machanic (5/28/2007)


    "A memory leak may occur in the common language runtime (CLR) if you pass a CLR user-defined data type as a parameter by using a stored procedure or...

  • RE: SQL Server Express DAC

    We can always rewrite the question.

    Does Windows XP by default come with Exchange Installed?

    A. Yes

    B. No

    C. If you install Windows 2003 Server over it and then install Exchange

  • RE: Disk Storage Costs per annum

    Steve Jones - Editor (4/21/2008)


    You don't need admin costs, you need savings based on GB. It's the cost of your GB per year in media, people, time, etc.

    That's actually exactly...

  • RE: SQL agent question

    I have to agree with GSquared. This one made me do some research to see which of these would work.

    While I'm not a big fan of the undocumented things,...

  • RE: Storage Size

    Steve Jones - Editor (4/9/2008)


    apologies. The question has been changed (and answers) and everyone to this point in time is awarded points.

    Except that I just answered it... and it's saying...

  • RE: Using Lists in stored procedure

    Adam Haines (4/8/2008)


    I believe I remember Antonio and Jeff doing some performance testing on parser functions and if I recall correctly the tally table is slightly faster (maybe a ms...

  • RE: Using Lists in stored procedure

    Actually... the joys of the Tally Table return... 🙂

    http://www.sqlservercentral.com/Forums/Topic452198-338-1.aspx

    SELECT TOP 11000 --equates to more than 30 years of dates

    ...

  • RE: Using Lists in stored procedure

    Antonio... that's some interesting code, but

    select * from dbo.fListToText( 'a,b,c', ',' )

    the function flisttotext is missing from the code.

    At first I thought it was using flisttoitems, but when I...

  • RE: Query

    Shaun McGuile (4/8/2008)


    Is the question poster a US citizen by any chance? 😀

    it would explain the 'english' bias of the question.

    I'm a US Citizen... doesn't change the fact that I'm...

  • RE: Query

    I hate to beat this dead horse, but the corrected question/answer went out today.

    Explanation: Either of the first two answers will work. All the month names have at least the...

  • RE: Query

    Jignesh Mehta (4/6/2008)


    The other answer " datename(m,join_date) like '%a%' " is also not correct as it will not give the list of employees who joined in the month of FEB

    Well...

  • RE: Need some help / Triggers - Procedures

    I'm guessing as to what this is for, but I think it's basically making an attendance record for every user for every day. When a user is entered in...

  • RE: Need some help / Triggers - Procedures

    Without the table structures, I can only give a sort of pseudo code but something like this.

    Here's your trigger

    CREATE TRIGGER NEW_USER ON USERS

    FOR INSERT

    AS

    INSERT INTO ATTENDANCE([UID],[DATE])

    SELECT

    [UID],

    GETDATE()

    FROM INSERTED

    The other...

  • RE: Troubleshooting Query

    Did you create indexes on the county and state fields? Need indexes to make it work.

    I see some foreign keys, but not indexes in the structure above.

    What do the...

Viewing 15 posts - 976 through 990 (of 1,033 total)