Forum Replies Created

Viewing 15 posts - 736 through 750 (of 2,487 total)

  • RE: Enterprise Manager Tricks

    Nice article, but you forgot to mention one trick, or should I say chore Refresh, refresh, refresh and if you still can't find...

    --------------------
    Colt 45 - the original point and click interface

  • RE: converting statement

    Ahhh .... Ok, progressing in leaps and bounds now ... in that case you should do the update.

    SET NOCOUNT ON
    -------------------------
    -- create and populate testing source table
    DECLARE @Asgnmnt TABLE(CallID...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Invalid ObjectName error in Stored Procedure

    Check the paragraph headed "Temporary Tables" in the description for CREATE TABLE in Books Online. If this doesn't clarify things then submit another post explaining what you don't understand.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Invalid ObjectName error in Stored Procedure

    Let me just get past the reson you would want to do this as temp tables are created uniquely for the connection anyway.

    I think your problem is to do with...

    --------------------
    Colt 45 - the original point and click interface

  • RE: converting statement

    What is returned for just the select portion?

    SELECT CallID, GroupName

        ,  CASE

               WHEN GroupName = 'SD Followup' then 'Y'

               ELSE 'N'

            END as CustPendCase

    FROM Asgnmnt

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Moderators and Microsoft BI/DW professionals needed for new SQL Server forum (www.SQLobSERVER.com)

    Hmmm ... don't know if I'd want to support a community that doesn't use the technology ...

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: converting statement

    I don't think you actually need the update part. You can include your CASE in the SELECT,

    DECLARE @table TABLE(CallID VARCHAR(8), GroupName VARCHAR(15), CustPendCase VARCHAR(1)) 
    INSERT @table(CallID, GroupName, CustPendCase) 
    SELECT...

    --------------------
    Colt 45 - the original point and click interface

  • RE: file creation/transfer

    This script resides in an ActiveXScript task that executes before your datapump. You set this up using the workflow. I've always found this article to be a good example of...

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL Server not using all of its memory.

    I presuming you, restarted the services after changing the option

    You might even need a full server reboot...

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL Server not using all of its memory.

    Also, take a look at this article,

    http://www.sql-server-performance.com/awe_memory.asp

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: converting statement

    "...with the data found in the actual tables..."

    So you would need to reference those table in the FROM clause.

    EG:

    INSERT @table(CallID, GroupName, CustPendCase) 
    SELECT CallID, GroupName, NULL
    FROM <your table...

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL Server not using all of its memory.

    What edition of SQL Server are you running?

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS Packages getdate() default value not copying

    Using DTS to drop and re-create the tables is not the approach you should be taking here.

    If you can't perform delete/update/insert statements to update the destination tables, then a...

    --------------------
    Colt 45 - the original point and click interface

  • RE: converting statement

    "INSERT @table(Asgnmnt.CallID, Asgnmnt.GroupName, CustPendCase)

     SELECT CallID, GroupName, NULL UNION ALL

    SELECT CallID, GroupName, CustPendCase FROM @table"

    For the highlighted statement, there is no FROM clause so where are the columns coming...

    --------------------
    Colt 45 - the original point and click interface

  • RE: SQL Server not using all of its memory.

    What edition of SQL Server are you using? How much data is being held on the server? Why do you need to fix the minimum and maximum sizes?

    You could also...

    --------------------
    Colt 45 - the original point and click interface

Viewing 15 posts - 736 through 750 (of 2,487 total)