Forum Replies Created

Viewing 15 posts - 3,091 through 3,105 (of 6,486 total)

  • RE: The Hazards of IT

    I'm kind of surprised noone brought up one of the most common source of our self-inflicted physical woes: the snack/soda machine down the hall and our usually deplorable eating habits....

  • RE: Sorting the Sheep from the Goats

    Amazing how much attention you can devote to someone when they have you in a sleeper hold:)

  • RE: Temp DB is Very Slow

    Is this all of the time? or around startup?

    the default sizing options for tempDB tend to be entirely inadequate. As I recall - it's 1MB with autogrowth in 1MB...

  • RE: SELECT * INTO temp table

    bcronce (5/30/2008)


    when you do a (select * into #table), doesn't it lock the tempdb the entire time of the select staments because the tempdb is locked during the creation of...

  • RE: DOS commands for stopping SQL services remotely and in sequence

    Marios Philippopoulos (5/30/2008)


    Thanks guys for your suggestions, I will have a look at the info provided.

    Matt, I was thinking of creating a .NET console app, but I'm not sure all...

  • RE: Help regarding average function

    You may also try windowing the AVG function, so you have access to your average without the GROUP BY. Performance doesn't seem so great on those with big groups,...

  • RE: Setting automatic date calculations in Report Parameters

    checkai (5/30/2008)


    This should work within the report itself. I set a parameter's default to this and the results looked good.

    =Switch(DatePart("w", now())=1,now(),

    DatePart("w", now())=2,DateAdd("d",-1,now()),

    DatePart("w", now())=3,DateAdd("d",-2,now()),

    DatePart("w", now())=4,DateAdd("d",-3,now()),

    DatePart("w", now())=5,DateAdd("d",-4,now()),

    DatePart("w", now())=6,DateAdd("d",-5,now()),

    DatePart("w", now())=7,DateAdd("d",-6,now()))

    Or slightly simpler....

    =DateAdd("d",1-weekday(now(),vbSunday), now())

  • RE: DTS QRY URGENT

    Is this DTS or SSIS? You've now got the question posted in two forums under two different versions. Urgent perhaps, but you're not going to get coherent help...

  • RE: Called Microsoft

    Interestingly enough, if I watch the SQLServ process in task manager (on my Dev Ed. install) - it starts with about 25MB on the very first reading. Of course...

  • RE: Is a Temporary Table Really Necessary?

    Matt Whitfield (5/30/2008)


    Matt Miller (5/30/2008)


    Don't forget that settting a primary key is also the only way you have to put an index (clustered or not) on a table var. ...

  • RE: DOS commands for stopping SQL services remotely and in sequence

    Marios Philippopoulos (5/30/2008)


    SQL ORACLE (5/29/2008)


    You may try the following DOS command. But you have to make them workable on a remote server.

    at 6:30pm /EVERY:Monday,Tuesday,Wednesday,Thursday,Friday,Sunday "c:\stop.bat"

    at 6:30pm /EVERY:Monday,Tuesday,Wednesday,Thursday,Friday,Sunday "c:\start.bat"

    Where stop.bat

    net start...

  • RE: Is a Temporary Table Really Necessary?

    JohnG (5/30/2008)


    PK - can't see it making much difference at all.

    Again, a typical "off the cuff" remark without thinking. I'm not saying ALL the time. One thing that...

  • RE: SQL Server Express 2005 : Transaction Logs

    swarada1783 (5/30/2008)


    Thanks a lot Matt.

    One more doubt. I set the AutoShrink option on the database to True. But unless I explicitly shrink the database it is not working. What could...

  • RE: Setting Culture code in SQL CLR

    Argh... you're running an EAV setup. That explains it.... Sorry - I just had to ask the question...:D

    I was going to suggest using a backdoor around resetting...

  • RE: Called Microsoft

    GilaMonster (5/30/2008)


    Matt Miller (5/29/2008)


    I thought the min memory setting had nothing to do with startup value for RAM. SQL Server starts up grabbing whatever memory it needs to start...

Viewing 15 posts - 3,091 through 3,105 (of 6,486 total)