Forum Replies Created

Viewing 15 posts - 316 through 330 (of 921 total)

  • RE: Index Free Space

    Yes.

    --Jonathan

  • RE: User Tables Included in New Databases

    Because they were created in the model database?

    --Jonathan

  • RE: variable tablename in cursor select stmt

    I think the real problem is that the schema violates Codd's Information Rule by having identifiers (i.e. table names) connote information. That's why you now need cursors, dynamic SQL,...

  • RE: Constraint between tables

    You can't use a FOREIGN KEY constraint, but you can create a CHECK constraint with a UDF that references objects in another database.

    --Jonathan

  • RE: Help with /3GB /PAE

    quote:


    But do we need /3GB in the .ini file for window 2000 advanced server?

    Thanks

    feifei liu


    You...

  • RE: Max size of a Select statement

    Your query would be faster, smaller, and more easily maintained if you put the values in a table and join to that table rather than using a list with IN().

    --Jonathan

  • RE: pulling off unique data by hierarchical selection

    quote:


    I didn'tdesign the schema - I inherited it. We do have a members table with a memberid for each person and a...

  • RE: Firing Trigger

    AFTER is the default behavior, so both your triggers are equivalent.

    --Jonathan

  • RE: Help with /3GB /PAE

    You probably haven't given the service account the right to lock pages in memory. Check the local policy.

    --Jonathan

  • RE: Do the certifications add value?

    We're in the process of hiring another consultant to specialize in financial software. We find it worth something if this person has a CPA (that's the US professional accounting...

  • RE: Rebuild fk constraints?

    Many problems with these scripts:

    • Keys can have up to 16 columns. The first script allows only one, the second allows only two.
    • Object names need not be regular....
  • RE: Callin all Ghurus - Parsing Question

    
    
    SELECT PARSENAME(REPLACE(Col1,'-','.'),1) txt
    FROM YourTable
    ORDER BY txt

    SELECT RIGHT(Col1,CHARINDEX('-',REVERSE(Col1))-1) txt
    FROM YourTable
    ORDER BY txt

    --Jonathan

  • RE: Rebuild fk constraints?

    The easiest way I've found is to use SQL-DMO, but it's not trivial.

    --Jonathan

  • RE: need help

    quote:


    thanks both worked..probably using temp tables was the idea.

    There is one more thing

    In my other form's query I have

    select (col1/col2) as Amt...

  • RE: Point in Time restore problem

    First back up the tran log. Restore the most recent full backup with no recovery. Then restore the most recent differential backup with no recovery. Restore the...

Viewing 15 posts - 316 through 330 (of 921 total)