Forum Replies Created

Viewing 15 posts - 53,371 through 53,385 (of 59,068 total)

  • RE: Performance Problem when using Caching

    Heh... I'm still trying to figure out why anyone would try to cache a 54 million row table...

  • RE: Importing a text file

    Step 1, I would think, is to hunt down the vendor that provides you with the information... and then yank their tonsils out through their nose. Wow! They...

  • RE: Temporary Tables

    You're welcome... thank you for the feedback.

  • RE: Stored Proc passing Table Name Fails - Help

    You're welcome and thank you for the feedback.

  • RE: Calculating Work Days

    I haven't check all the code, but I see that you have a RETURN that I commented out in red...

  • RE: The December Energy Update

    Heh... use the heat of compression to make hot water, the thermal losses of expansion to provide refrigeration, and the left over pressure to drive a low pressure turbine.

  • RE: query tool that supports client side variables?

    Ken,

    Yeah, you're right... go breaks the stride of variables... AQT won't handle it. Still not sure why you need the "GO"'s. Yeah, they force an early display but...

  • RE: do DBAS need local system admin privileges? and why?

    Ummm... my mistake, I think... you're probably taking about the "WINDOWS" server System Admin, huh?

    That might be a different story but, still, I'd be inclined to let the DBA in....

  • RE: do DBAS need local system admin privileges? and why?

    If you dunno, you may be in trouble...

    Who's going to set the files sizes? Who's going to do the load balancing for TempDB and other databases? Who's going...

  • RE: Calculating Work Days

    Heh... If you're going to copy code 100%, the least you could do is put my name on it 😉

    First, why are you using this as a proc... why...

  • RE: Next Sequence Values

    Lowell, as always, brings up some excellent points and I, too, hate these types of sequence tables. They're a real pain and if the code isn't written perfectly, you...

  • RE: query tool that supports client side variables?

    The best thing to do would be for your organization to hucker down and fix the poorly written code by turning them into viable stored procedures or views.

    Than notwithstanding, what's...

  • RE: Stored Proc passing Table Name Fails - Help

    You must use Dynamic SQL to do such a thing...

    CREATE PROCEDURE [dbo].[sp_vcGetStop]

    @CheckTable varchar(15),

    @Sequence numeric(10,0)

    AS

    EXEC ('SELECT CUID As Rt, WorkType FROM ' + @CheckTable + ' WHERE Sequence = '...

  • RE: INSERT INTO OPENROWSET

    There is a registry setting that prevents SQL Server from being able to use OpenRowSet... look in the registry for "DisallowAdhocAccess" and change it's value to zero.

    Also, OpenRowSet creates temporary...

  • RE: calculate number of days

    I agree with Steve, but the code is so simple I wouldn't make a stored procedure or function for it... too much overhead for such a simple thing.

Viewing 15 posts - 53,371 through 53,385 (of 59,068 total)