Forum Replies Created

Viewing 6 posts - 346 through 352 (of 352 total)

  • RE: Need T-SQL to Parse string

    Noel / Ron- perfect.  Your solution just got me over an 8 hour hump!!!   Can I offer you a Philly Cheese Steak??? 

    thanks a million!

    bt

  • RE: Need T-SQL to Parse string

    I tried your recommendation and it failed w/ the following error message:

    The charindex function requires 2 to 3 arguments.

    update STAGEtblCSComponentParsed

     set Type_1    = left(AddrInstr,1),

         Type_1_ID = cast(substring(AddrInstr,2,3-charindex(';',AddrInstr,3)) as int),

         Type_2   ...

  • RE: Determining existance of a Table in SYSOBJECTS

    Thanks for the lead in Frank (my mistake) -- I modified the OBJECTPROPERTY to filter on 'IsUserTable' instead of 'Customers'

  • RE: Determining existance of a Table in SYSOBJECTS

    All I need to do is determine the existance of a TABLE.  Then I do a:

    if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Customers]')

       and OBJECTPROPERTY(id, N'Customers') =...

  • RE: Auto-generate SQL Script for entire DB?

    Good suggestion!  Exactly what I recommended BUT the lead developer wants to build an .MSI type application whereby they can bundle all scripts together on a CD and create, via...

  • RE: URGENT... Help needed with xp_cmdShell

    To allow access to XP_CMDSHELL:

    o grant execute on the XP_CMDSHELL (in the Master DB) to your SQL User (or SQL Role)

    o then, determine if a SQL Server Agent Proxy Account exists:...

Viewing 6 posts - 346 through 352 (of 352 total)