Forum Replies Created

Viewing 15 posts - 58,696 through 58,710 (of 59,039 total)

  • RE: Calling external code

    I found it and I was correct...

    They first found memory leaks in the SP_OA procs in SQL Server 6.5 and supposedly fixed it... see the following URL:

    http://support.microsoft.com/kb/151601/EN-US

    I guess...

  • RE: Calling external code

    It sounds like you may need to build a "Calendar Table".  Lot's of folks have wriiten about their construction and use.  I'd also recommend taking a peek at the following...

  • RE: Calling external code

    Jon,

    What kind of VB functionality are you looking to do?

  • RE: Sequential numbered column

    IF OBJECT_ID('TempDB..#Results') IS NOT NULL

    DROP TABLE #Results

    SELECT IDENTITY(INT,1,1) AS RowNum,

      ...other columns as you need...

    INTO #Results

    FROM ...your tables and joins...

    ORDER BY ...the order you...

  • RE: Doubt on Temporary tables

    You CAN get an estimated execution plan when you use temp tables by first executing just the code that makes the temp tables and then doing the execution plan.  If...

  • RE: Printing Reports

    Pretty sharp, Womalley... sometimes ya gotta do what ya gotta do.

  • RE: How to move text file in Stored Prcoedure

    The use of xp_CmdShell is considered to be a security risk by most DBA's and, I believe, the default is you must have"SA" (not just "dbo" rights to use it.  You...

  • RE: Recusive Hierachy

    rschaeferhig,

    You were quite right... you didn't change much.  In fact, when I built a test Directory and Employees table and inserted the records you showed in a previous...

  • RE: Recusive Hierachy

    Obviously, the code I posted had to be changed to accomodate your particular requirements.  You are correct... something went drastically wrong.  If you could post the schema of your personnel...

  • RE: Recusive Hierachy

    Sure... with examples... I used temp tables for the example so I don't clutter up my hard drive... you don't have to (in fact, I recommend that you don't)...

    June 3, 2005 at 6:28 pm

    #563039

  • RE: Can this be done without using cursor?

    Bull2000,

    If you use the concatenate method using the TAB character (CHAR(9) in code) instead of a comma as a delimiter, the output might just cut&paste into Excel with no other...

  • RE: Date Conversion

    Cory...

    This works the way you want... leading zeros and mm/dd/yyyy format intact...

    DECLARE @Date VARCHAR(30)

    SET @Date = '2/3/2005'

    SELECT CONVERT(VARCHAR(10),CONVERT(DATETIME,@Date),101)

              

    ----------

    02/03/2005

    (1 row(s) affected)

  • RE: question about shrinkdatabase

    The log file probably grew for a pretty good reason. If you shrink it and it decides to grow again, especially if the growth size is small or is a...

  • RE: Stop SQL2K Rounding

    Try this, instead...

    "select boy + REPLACE(STR(age,7,4),' ','') + ' is years old'

  • RE: Date column Auto Convert on INSERT

    If it truly is a "DateTime" column, it just doesn't matter what format you store it in so long as it is one recognized by SQL.  It will have...

Viewing 15 posts - 58,696 through 58,710 (of 59,039 total)