Forum Replies Created

Viewing 15 posts - 556 through 570 (of 1,344 total)

  • RE: Nested Stored Proc w/Transactions

    A single stored procedure call has an implied transaction. 

    If your calling multiple then you simply have to create a begin tran, commit tran in the wrapper. Not in the individual stored...

  • RE: from MS Excel to SQL Server?

    Not exactly sure what information you mean?

    are you simply trying to import data from excel to sql server?

    Use the dts import wizard.

    Or build a dts package.

     

  • RE: Need simple example of Data Warehouse

    No, Its either adventure works, or foodmart.

    Both are good.

    heres a quick simple little read

    http://www.ciobriefings.com/whitepapers/StarSchema.asp

     

  • RE: What way faster to delete?

    Make sure that all foreign key constraints referencing tableBig (Table being deleted from) are either dropped, or set to nocheck, this will speed up your delete considerably.

    If your just comparing...

  • RE: Transposing SQL2000 Data

    Try this, I posted it a while ago, I was helping a person create a crosstab query, but he also wanted it dynamic.

    Reference this link when using/considering dynamic sql

    http://www.sommarskog.se/dynamic_sql.html

     

    --...

  • RE: A TRIGGER IS CHOKING UP THE TABLE?

    Perhaps something in the trigger is causing blocking, ultimately causing the process to terminate. Check sql logs to see if deadlocks are occuring.

    you can also isolate locking in Sql profiler.

    without...

  • RE: Convert into Flat Table

    Perhaps you should provide additional information about your data example.

    Is the NameID supposed to correlate to some kind of hierarchy?

    and how does that work?

    This perhaps could end up being a...

  • RE: DELETE 100 rows at a time - COMMITING after each 100 rows DELETED

    I would try a little different approach

    I would create a temp table, then copy the good 1 million rows to it. Using dts, or BCP (Using the commit 1000 rows...

  • RE: SQL Query Needed

    Sorry if I'm mistaken, but you should be able to identify the rows that create uniqueness when you use informatica. That is what is for.

    select foo, Bar

    from mytable

    join (select min(foo)...

  • RE: Need for Multiple Database Servers

    Well I work for a small company with only 1 application, and we have over 30 servers.

    First you have a few development servers, then a couple qa servers, for a...

  • RE: Log Shipping - help!!!!

    When you look at the secondary database in enterprise manager does it say dbname (Read-Only)?

    It could be that the initial restore of your backup was not left in recovery mode.

     

  • RE: SQL Performance

    With Citrix all the fun is happening on the server.

    I would start with running whatever process/task/report using the parameters she is supplying and evaluate the performance of that task.

    It is...

  • RE: Convert SQL Update/From to ANSI Update

    Not using the From join syntax

    whether its pure ansi, I'm not sure

     

    --===== This solves the problem

     UPDATE #yourtable

        SET IRD = 1

    where exists (select *

                  from (select FT, Doc, min([Date]) AS...

  • RE: Please Help!!!...moving MSSQL db

    Change management is one of the most difficult issues to deal with for a development dba.

    The tools do not help you maintain versions of code or table schema.

    What you should...

  • RE: Delete top 1 record??

    But what makes you want to pick the first row?

    is it because the second value is zero? the combination of the three values?

    you just want to delete the first row?...

Viewing 15 posts - 556 through 570 (of 1,344 total)