Forum Replies Created

Viewing 15 posts - 4,531 through 4,545 (of 5,103 total)

  • RE: Dynamic Audit Trigger

    I'll go also for wz700 suggestion. In fact that's what I use. Trigger script generation based on schema. And it does not matter...


    * Noel

  • RE: How to get out EXEC(T-SQL) data?

    FROM BOL:

    ------------------------------------------------------------
    Remote Query Execution

    SQL Server attempts to delegate as much of the evaluation of a distributed query to the SQL Command Provider as possible. An SQL query that accesses...


    * Noel

  • RE: Dynamically creating new database fields and retireving data from them

    I am not going to argue that this can be done.

    My point is that in order to build such a structure you are dangerously sacrifycing DATA INTEGRITY constraints and...


    * Noel

  • RE: Reflexive treeview table - how to get root from child?

    There are a lot of ways to do that but one of my favorites is this one

    HTH

     


    * Noel

  • RE: CASE vs IF..ELSE

    select case

             when iValue>1 and iValue<= 5 then 1

             when iValue>5 and iValue<= 10 then 2

             when iValue>10 and iValue<= 15 then 3  end as data

    if @days <= 1...


    * Noel

  • RE: Timeout expired

    Call DoCmd.TransferDatabase(acExport, "ODBC Database", _

                "ODBC;DSN=Volume_Control;UID=sa;PWD=xxxx!", _

                acTable, "tblFilename" & processPane.ListItems(ctr), "tblTemperooeste", False, False)

    The above uses The Jet engine to retrieve remote data to override the behavior for a particular...


    * Noel

  • RE: SP not working the same SQL 2000 vs SQL 7.0 when exec from Access

    I also ran into an interesting thing in some of the Access queries:

    With SQL 2000 any query testing a boolean field with a  -1  is comming up with an empty...


    * Noel

  • RE: Migrating SQL Server Jobs

    Hey no problem, it happens to me all the time


    * Noel

  • RE: Comparing Data in Views

    a Join


    * Noel

  • RE: SQL Construct

    You're welcome


    * Noel

  • RE: Cannot login after default database is deleted

    Well I NEVER set the default to master. I point them all to tempdb Instead

     


    * Noel

  • RE: SQL Construct

    I think this is what you are after:

    INSERT INTO dbo.FoldingTable (Orig_Value)

    SELECT

     dbo.CountyParent.CaseNbr

    FROM

     dbo.CountyParent 

     LEFT OUTER JOIN 

     (Select CaseNbr From dbo.CDS_Case WHERE CaseNbr is not null

      UNION

      Select CaseNbr...


    * Noel

  • RE: Migrating SQL Server Jobs

    but if you do have A Lot of jobs it is still no biggie. Go to EM -> Management -> SQL Sever Agent -> Jobs, Right click on the JOBS...


    * Noel

  • RE: Reading from sp_dboption

    I believe that you will have to combine Frank's post with  some DATABASEPROPERTYEX( database , property ) and update the table that way. I agree with frank it should not...


    * Noel

  • RE: Reading from sp_dboption

    Can you post the bit to Option map that you are using?

    ex. auto create statistics = Bit 1, etc


    * Noel

Viewing 15 posts - 4,531 through 4,545 (of 5,103 total)