Forum Replies Created

Viewing 15 posts - 1,096 through 1,110 (of 1,315 total)

  • RE: Case and Grouping

    A couple of suggestions:

    1. Don't query the same table twice if you can get both results in one pass

    2. Group the "many" side of a one-to-many relation before joining

    3. Compare...

  • RE: alternative for using cursor

    The description-concatenation function could be:

    CREATE FUNCTION dbo.ufnConcatDescription (@number as varchar(30))

    RETURNS varchar(8000)

    AS BEGIN

       DECLARE @varDescription varchar(8000)

       SET @varDescription = ''

       SELECT @varDescription = @varDescription + dbo.cm3ra4.[description] + char(13) + char(10)

       FROM...

  • RE: is there a way in a query to specify by record number

    To select, for example, the 4th "page" of 10,000 records you could use:

    SELECT * FROM (

       SELECT TOP 10000 * FROM (

          SELECT TOP 50000 *

          FROM Customers

          ORDER BY...

  • RE: Transferring a SQL Server 2000 DB to a New Server

    One database should be manageable with Enterprise Manager.  You could still use my steps for the final migration (single user, final backup, then multi-user readonly) through Enterprise Manager.

  • RE: Transferring a SQL Server 2000 DB to a New Server

    Assuming you have multiple databases to migrate and a limited maintenance window, trying to use Enterprise Manager is risky unless you enjoy trying to work quickly under pressure with no mistakes. ...

  • RE: 3rd Party Report Tools

    A tool that would display DB info/tables/relationships

    Umm, how about Enterprise Manager diagrams?
    I need something to generate very basic reports
    You need a reporting tool to present an environment to...
  • RE: 3rd Party Report Tools

    I've got users who insist on linking Access to exported text files (because that's how they did it 10 years ago), instead of linking to exactly the same data in...

  • RE: Database Rollback setting

    A case of rampant curiousity, I understand the symptoms.  It's an interesting enough question that I attempted a web search or two, but came up empty.

  • RE: Database Rollback setting

    If you're under the impression that this is some kind of a permanent setting, it's not.  The rollback option only applies to the ALTER DATABASE statement it is part of.  Both WITH...

  • RE: Database Rollback setting

    Again, I don't know the query for that, but it raises some other questions.

    Did you issue the ALTER TABLE yourself, and forget what the time limit was?  I hope not,...

  • RE: Oracle SP vs. MS SQL Reporting Services

    I don't think SQL Server is going to have any idea what to do with a REFCURSOR object.  I'm guessing because I've never worked with Oracle, but it sounds impossible.

    I...

  • RE: 3rd Party Report Tools

    Certainly caution in letting users write ad-hoc queries is warranted, but is there some inefficiency built into Access that makes it a bad idea?  Wouldn't the same users be able...

  • RE: Database Rollback setting

    I am not aware of any way to tell the server to rollback a transaction at some point in the future, usually when an error occurs that requires a rollback...

  • RE: Adding a column to a specific place...

    There's a big gotcha lurking in the table-rebuild script generated by Enterprise Manager.  It uses transactions, but I believe the whole thing is running in some outer transaction that is...

  • RE: Master DB restore

    I feel I should clarify that my post was about the general case of when the server won't start because it can't find a required system database (other than master). ...

Viewing 15 posts - 1,096 through 1,110 (of 1,315 total)