Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)

  • RE: Women in Technology

    Phil Factor (1/5/2010)


    Some estimates describe an alarming percentage fall from 40% to 20%. Clearly something must be done to reverse the trend.</A>[/B]

    Why?

    This comment assumes that a balance of...

  • RE: Returning rows in one table based on rows not in another table

    Hi Gail,

    No apologies necessary. I appreciate the help.

    The following query works.

    SELECT StockCount.id, StockCount.SizeID, StockCount.Count, StockCount.OutDate, FunctionStock.ID AS Expr1, FunctionStock.StartDate, FunctionStock.EndDate,

    ...

  • RE: Returning rows in one table based on rows not in another table

    Hi Gail,

    I have been trying different queries in an attempt to learn more about SQL.

    The following query does not work, but it does represent what I am actually trying to...

  • RE: Returning rows in one table based on rows not in another table

    Hi Gail,

    I am appreciating your persistence with this. Thank you.

    > You want all stockcount entries that don't have matching entries in FunctionStock for a particular date?

    Almost. I need all stockcount...

  • RE: Returning rows in one table based on rows not in another table

    Hi Gail,

    File structures are:

    StockType

    ID, int (PK)

    Type, nvarchar(50)

    Charge, money

    StockStyle

    ID, int (PK)

    TypeID, int

    Style, nvarchar(50)

    StockColor

    ID, int (PK)

    StyleID, int

    Colour, nvarchar(50)

    StockSize

    ID, int (PK)

    ColourID, int

    Size, nvarchar(50)

    StockCount

    id, int (PK)

    SizeID, int

    Count, nchar(2)

    InDate, datetime

    OutDate, datetime

    OutReason, nvarchar(100)

    FunctionStock

    ID, int (PK)

    StartDate, datetime

    EndDate,...

  • RE: Returning rows in one table based on rows not in another table

    Hi Gail,

    Thanks for the reply. It has been a big help.

    Here is the SP I have created based on your example:

    SELECT StockCount.id, StockCount.SizeID, StockCount.Count, StockCount.InDate, StockCount.OutDate,...

  • RE: Complex Count/Sum

    Hi All,

    Thanks for all the suggestions. I have taken a mix and come up with a result that works well for me.

    For those interested, I have column names of...

  • RE: Complex Count/Sum

    Hi Peter,

    Thanks for the sample. What I need is something more like...

    SELECT SUM(Col1), COUNT(Col1), COUNT(*)

    FROM Table1

    WHERE ...

  • RE: Complex Count/Sum

    Thanks Chirag,

    Could you provide a sample SP of how to address multiple columns for both SUM and COUNT at the same time? How do I return the multiple results?

    cheers,

    Mark

  • RE: Stored Procedures - SQL 2005 vs SQL Express

    I'm inclined to agree with you. Trouble though is I am just the "outside" consultant who gets called in after decisions have been made. The client will use this software...

  • RE: Stored Procedures - SQL 2005 vs SQL Express

    They are being rather coy about the details.

    I have not had the chance to test the application as it is an upgraded version of an app the client has used...

  • RE: Connecting to MSDE

    Hey Guys,

    Got it sorted!

    I created my table user IDs before the database user IDs 🙁

    cheers,

    Mark Chimes

     

  • RE: Connecting to MSDE

    There is one further question I meant to ask.

    Does it make any difference if the workstation is running Windows XP home edition rather than Professional edition?

    I realise this means the...

Viewing 13 posts - 1 through 13 (of 13 total)