Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)

  • RE: Changing Database Owner

    Leo - Thanks for the reply.

    I know DYNSA is not an orphaned user. DYNSA user is automatically created when Great Plains is installed on a SQL Server, much like 'sa'...

  • RE: Convert Time Stamp in Query

    Thanks everyone for response.

    For the record both of these queries worked and returned exact same results:

    select * from Orders where cast(orderdate as date) = '2011-11-30'

    select *

    from dbo.Orders

    where orderdate >=...

  • RE: Convert Time Stamp in Query

    I think I found my answer on this website (should have searched here before posting...........

    I tried this............

    select * from orders where cast(orderdate as date) = '2011-11-30'

    It seems to work -...

  • RE: Two databases - same instance - query both

    Okay - that makes sense. learning point - either use alias all the time or not at all.

    The alias sure saves typing.

    Is alias equivalent to synonym (which I have...

  • RE: Two databases - same instance - query both

    Actually - I took out the alias reference and this query works:

    select

    NBXWEB.dbo.RBI_POReceipts.PONUM,

    NBXWEB.dbo.RBI_POReceipts.Vendor,

    NBXWEB.dbo.RBI_POReceipts.RecDate,

    NBXWEB.dbo.RBI_POReceipts.SKU,

    NBXWEB.dbo.RBI_POReceipts.QtyReceived,

    NBXWEB.dbo.RBI_POReceipts.ReadByGP,

    RBI.dbo.BT_POP_QTY_REMAIN.REMAIN

    from NBXWEB.dbo.RBI_POReceipts

    Left outer Join RBI.dbo.BT_POP_QTY_REMAIN

    ON NBXWEB.dbo.RBI_POReceipts.PONUM = RBI.dbo.BT_POP_QTY_REMAIN.PONUMBER

    and NBXWEB.dbo.RBI_POReceipts.SKU = RBI.dbo.BT_POP_QTY_REMAIN.ITEMNMBR

    I'm...

  • RE: Restore problem

    Thanks for the replies - I was able to 'track' down the service that had connection established - I manually stopped and was able to restore my database.

    Very educational forum...

  • RE: SQL Mail with no SMTP server?

    That's kind of what I thought.

    Thanks for the assistance.

Viewing 7 posts - 16 through 22 (of 22 total)