Forum Replies Created

Viewing 15 posts - 91 through 105 (of 272 total)

  • RE: How to combine two tables in a query

    The confusing part to me is you say records from one will not be in the other table. If that is so, you have no way to join the...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: How to combine two tables in a query

    If I read this correctly (I probably didn't), it sounds like a union of the two.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Join with max date

    timscronin (6/29/2010)


    I have 2 tables with a one to many relationship. I have table 1 reorders with an rxno and table 2 hrxs which has many records related to...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Dynamic SQL Problems

    It depends. You could be trading some performance for this approach. The query will not be able to take advantage of caching certain elements, such as query plan...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Current Date - 1

    You are most welcome.

    Thank you for the feedback.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Current Date - 1

    aberndt (6/29/2010)


    I am trying to write a Crystal report where I am pulling records from yesterday. The report will be run daily, hopefully automatically, so there is no need...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: select distinct columns, nondistinct column from table

    Eugene Elutin (6/29/2010)


    rahulsony111 (6/29/2010)


    Hi,

    I have a table with columns proj_id char(5), tenant_id char(6), lease_id char(8), Sales_yr numeric(4)

    i want to distinct only proj_id, tenant_Id, Lease_id but not sales_yr how can...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Sql Server DBA vs. Oracle Apps DBA

    In what part of the world do you live?

    Generally speaking, certification is sometimes, but in my observation, not that often a requirement. It never hurts though.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Drop Publication

    All that sounds normal to me.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Schedule a job to generate a script

    You would need to generate the script from metadata. It's pretty easy though, depending on what you're trying to script.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Drop Publication

    Are you replicating 140,000 tables, or is that split among SPs, views etc?

    You can stage it in several publications so that it is less of a strain to initialize. ...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Get ride of cursor/ Performance issus

    Scott is correct, but I spotted a typo. It should be :

    delete from SHIPPING_STG

    from SHIPPING_STG ss

    inner join (

    select acct, item, max(sdate) as maxDate, min(sdate)...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Index

    Were the indexes removed or are you referring to "missing indexes" reflected in query plans or sys.dm_db_missing_index_details ?

    Converting oxygen into carbon dioxide, since 1955.
  • RE: The Schema Debate

    I have never found schemas usefull or necessary. They always seemed like a solution in search of a problem to me. I also never like the term "schema"...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: T-SQL Logic

    Nice question. Thanks.

    Converting oxygen into carbon dioxide, since 1955.

Viewing 15 posts - 91 through 105 (of 272 total)