Forum Replies Created

Viewing 15 posts - 931 through 945 (of 3,232 total)

  • RE: Archiving in SQL 2005

    There are some good suggestions here so far. If performance is your biggest concern, I'd suggest looking closely at SQL Server 2005 Table Partitioning. This will keep you...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Denying update rights to all tables in a database for a user

    Bru Medishetty (11/3/2009)


    Then If I am in your position, I would create a Cursor that iterates through all the Tables in that Database and run this Command,

    DENY UPDATE...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Denying update rights to all tables in a database for a user

    kkapferer (11/3/2009)


    Bru,

    Thanks for the quick reply. This does not seem to help me. I feel like the reason for that is because this permission is not...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Assign value to variables

    By the way, here's a good read on the subject:

    http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/64014/

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Assign value to variables

    There are several ways to get values into variables within SSIS. You can populate variables with return values from SPs, full ADO datasets, Filenames from a for-each-file operation, expression...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: How to retieve column info from a sql query (not table)?

    There's no real easy way to do this. One way, would be to build out an empty temp table based on the query and then query for the temp...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Understanding the proc

    The OPENQUERY statement allows you to execute SQL against a remote data source. In your case, the SELECT statement will be executed against the DBSER1 data source.

    It...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Multiple Records Max Date

    Lynn is right, more info would help. In the meantime, this may get you close to what you need:

    SELECT t.SourceSiteID,

    t.TreatmentDate,

    t.Status

    FROM myTable t

    INNER JOIN (

    SELECT SourceSiteID, MAX(TreatmentDate) as LastTreatmentDate

    FROM myTable

    GROUP...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: SQL Server 2000 SP4

    I could be totally wrong, but I don't think there is an uninstall for the service pack. You may be stuck with uninstalling the entire SQL instance, reinstalling the...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Splitting a date range

    Mark - Great use of the Tally table! Using a number table here makes this a quick/easy solution.

    Mattie - just in case you need more info on Tally/Numbers tables,...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Editng or Stopping a Stored Procedure

    If you have to resort to this to prevent contention, I would recommend taking a serious look at the whole process that the stored procedure was introduced to do. ...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: SSIS truncation error

    You may need to check all columns. If this is a fixed width file, the error may be misleading as a problem with the data for any column could...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: SSIS truncation error

    I would check your flat file connection manager and make sure your column widths are defined correct.

    Any chance there's a character in your source data that is causing...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Connectin to Sybase using SSIS

    Well, connecting from SSIS will be as easy as connecting from any other application. You first need a data provider. So if you can't find an OLE DB...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: simple select view to retrive 40 lkh records taking 2 min

    Yep, SQLGuru is absolutely correct.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 931 through 945 (of 3,232 total)