Forum Replies Created

Viewing 15 posts - 166 through 180 (of 519 total)

  • RE: rowcount in the subject line of a Send Mail Task.

    You would need to get the rowcount ahead of time, and use a variable to pass it in as the subject line. It's simple enough, but you will be running...

  • RE: Generate SQL Script...

    I wrote a script a couple years ago that takes a set of tables and does the same thing. Mine builds out the database using the same filegroups and file...

  • RE: SQL Server VS. Oracle

    quote:


    Capital One has an Oracle 6boxcluster, 4-way app. (24 CPUs)

    SQL Server couldnt handle certain queries.

    All the CC data i think.


  • RE: SQL pass through query and Access report

    Sounds like you working with it from a mdb. Change over to using the adp functions, and you'll eliminate the majority of your overhead. I won't say that it's not...

  • RE: SQL Server VS. Oracle

    quote:


    I couldn't agree more. In my opinion, these statements are either based on old experiences or on SQL Server instances not very...

  • RE: SQL Server VS. Oracle

    quote:


    You certainly can tell the difference between an update & insert trigger in SQL Server. Postmod values are available in triggers...

  • RE: Chaining Replication

    Yes, the tables replicated are the same. However, the data will be partitioned by data ranges within the tables (In a reliable manner I pray....).

    What you mention is also one...

  • RE: dbcc memorystatus & sysperfinfo

    It very much depends on what your wanting to see as to how often to run it. In most cases, I run it every hour for logging, to allow me...

  • RE: Copied MDF file. Now the DB won't restore

    If you recieved a MDF and a LDF file, I would have a hard time believing it was a backup, unless whoever it was named the backups that way....which I...

  • RE: Restore/rebuild master

    1. Not positive, but it's the route I take, then restore after the rebuild if neccessary (objects in master to recover)

    2. This is the directory the origional was in.

    3. This...

  • RE: Ensuring multiple rows add to 100%

    The second option you state is how it should be done if that is the case.

    Use

    Begin Tran

    Update Groups set Percentage = 60 Where Person = Bob

    Update Groups set Percentage...

  • RE: Ensuring multiple rows add to 100%

    Why not group by on your group ID, and sum the percentages, allowing you to check for 100 with a where clause? Say something like:

    Select GroupID,Sum(Percentage)

    From PercentageTable

    Group BY GroupID

    Having SUM(Percentage)...

  • RE: Clustered Index strategy

    That sounds like a good strategy to me....

  • RE: Replicating without using replication

    One method could be:

    You can determine changes to the schema of your databases with the create date and version columns in the sysobjects tables, if you record the previous values...

  • RE: Moving Datafiles

    you can detach the database and re-attach it after moving the actual file. (sp_detach_db, sp_attach_db)

    you can back up your database, and restore it to the new location.

    just a couple methods...

Viewing 15 posts - 166 through 180 (of 519 total)