Forum Replies Created

Viewing 15 posts - 961 through 975 (of 1,061 total)

  • RE: Illegal Mining

    Data mining is good way to check the data especially in data warehouse.  However now we have SOX, HIPPA and identity threft, the data security dept (or whatever they call...

  • RE: copying the database from development box to production box

    Instead of using backup and restore, you can script the database. In the options page, you can script the database, users and database roles, SQL Server Logins and object level...

  • RE: Unexpected Remote Query Results

    I just answered the question in the other thread.  I did the same thing.

    SELECT COUNT(*) FROM LinkedServer.LinkDB.dbo.Table

    It gave me a big number.

    Then I did

    SELECT COUNT(*) FROM (SELECT TOP 10...

  • RE: Unexpected Remote Query Results

    I did the same experiment.

    The first one I got a big number.

    The second one I got 10.

     

  • RE: Sr. Data Warehouse Developer (Sandpoint, ID)

    What is the salary range?

  • RE: Iterative problem

    Actually I made it too complicated.

    SELECT MAX(RecordID), ProjectID

    FROM Temp

    WHERE StartDate < DATEADD(MM, -6, GETDATE()) AND

     EndDate < DATEADD(MM, -6, GETDATE())

    GROUP BY ProjectID

     

  • RE: Iterative problem

    I changed the query.

    SELECT MAX(t.RecordID), t.ProjectID

    FROM #Temp t

     INNER JOIN (SELECT Distinct RecordID, ProjectID

       FROM #Temp

       WHERE StartDate < DATEADD(MM, -6, GETDATE()) AND

             EndDate < DATEADD(MM, -6, GETDATE())) d

       ON t.ProjectID =...

  • RE: Iterative problem

    I made a mistake about the 5.  But for projectID 2000, you should get 4 as the recordID since the startdate and enddate is 6 month from today.

  • RE: Upgrade Procedures

    You are not alone.  How big is your company and how many people in the IT department?  In my company, we have Oracle, SQL Server, UNIX, AS400 and Window NT.  We...

  • RE: DTS Error

    In the DTS Package, which task did you use ? Did you remember to put in the connection?

    If you wanted to exec the procedure, it seemed to me the procedure...

  • RE: Iterative problem

    In your example, did you miss something?  First you mention there is a field status but there is no status in your example.

    You want to write a query of the...

  • RE: Triggers. The wrong id is being returned from the Inserted table.

    I think you should

    Create trigger [dbo].[MPI_Insertordxshopevent] ON [dbo].[bvc_Order]

    FOR insert

    Then the trigger will happen when you insert into the table.  Then when...

  • RE: Permissions for Import / Export Methods

    Are you running these command in Query analyzer or in a stored procedure or using DTS package?

  • RE: Oracle

    Oracle DBA is very different from SQL Server DBA. It is not very user friendly.  Also is your company using Oracle with their ERP system ?  Which version of Oracle do you use? ...

  • RE: Beginning Professional Development

    I am a SQL Server developers, right now working on building data warehouse, doing database design and modeling.   In this website, the job post always looks for DBA.  I know...

Viewing 15 posts - 961 through 975 (of 1,061 total)