Forum Replies Created

Viewing 15 posts - 151 through 165 (of 2,452 total)

  • RE: How to make relation between tables to calculate cost of flight and transfer and hotel and excursion per every day ?

    ahmed_elbarbary.2010 - Wednesday, July 5, 2017 11:59 AM

    data as following
    USE [NileTravel]
    GO
    INSERT [dbo].[Type] ([ProgramTypeID], [ProgramType]) VALUES (1, N'NileCruize')
    INSERT [dbo].[Type] ([ProgramTypeID], [ProgramType])...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Collapsing Hierarchy of messages into single row

    Michael Esposito - Wednesday, July 5, 2017 11:52 AM

    I added it to my original post. Thanks for the tip!!

    some sample data insert...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Stored Procedures for document Numbers

    J Livingston SQL - Tuesday, July 4, 2017 11:08 AM

    "For the examples above the next numbers generated should be CNCB17000002,CNPO17000002,CNCP17000004"

    ???..."next numbers...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Stored Procedures for document Numbers

    "For the examples above the next numbers generated should be CNCB17000002,CNPO17000002,CNCP17000004"

    ???..."next numbers generated?"....from  where/what/which process?

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Streaks

    please confirm what version of SQL you are using.....in some of your other posts IIRC you said you were using 2008??
    This is a 2016 forum

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: General advice needed - database design - Is this a bad way to design a pricing table?

    just a thought......

    CREATE TABLE #ProductPrice(
     ProdId  VARCHAR(6) NOT NULL
    ,BasePrice INTEGER NOT NULL
    ,Pricegroup VARCHAR(3) NOT NULL
    );
    INSERT...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: General advice needed - database design - Is this a bad way to design a pricing table?

    from your example data it appears that you are applying the same discount to all sizes.
    buy get 5% off, buy 3 get 10% off, buy 4 get 15% off.

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: General advice needed - database design - Is this a bad way to design a pricing table?

    what consideration have you given to when to wish alter a price?
    are you intending to keep a history of price changes per item?
    If you have a start/end datetime...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to find row(s) with the same value in a recordset

    mikeaspnet - Sunday, July 2, 2017 12:37 PM

    Nope,

    I want to know how many orders  (can more then 1 row) have the same...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to find row(s) with the same value in a recordset

    not exactly sure of what you are asking.....but to start the discussion why cant you use COUNT & GROUP BY

    eg

    SELECT   COUNT(*) , OptionID, Quantity

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Server 2000 Installation Problem

    ashutosh.vishwakarma700 - Saturday, July 1, 2017 8:22 AM

    J Livingston SQL - Saturday, July 1, 2017 8:07 AM

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Server 2000 Installation Problem

    ashutosh.vishwakarma700 - Saturday, July 1, 2017 7:58 AM

    J Livingston SQL - Saturday, July 1, 2017 5:48 AM

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Dedup Large Table

    Jeff Moden - Saturday, July 1, 2017 5:55 AM

    J Livingston SQL - Saturday, July 1, 2017 1:51...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Server 2000 Installation Problem

    ashutosh.vishwakarma700 - Saturday, July 1, 2017 5:23 AM

    Having same problem i have tried many times but result is same can somebody please...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Dedup Large Table

    Jeff Moden - Friday, June 30, 2017 6:48 PM

    Just remember that checksum is NOT reliable when it comes to the determination of...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 151 through 165 (of 2,452 total)