Forum Replies Created

Viewing 15 posts - 2,881 through 2,895 (of 15,381 total)

  • RE: Current Date Query

    Please don't cross post. It just fragments replies and makes it harder for you and the people trying to help.

    http://www.sqlservercentral.com/Forums/Topic1683510-169-1.aspx

  • RE: Current Date order Query

    heh seems that we have covered this before. Well done.

  • RE: Storing Values for Bitwise &

    nick.latocha (5/7/2015)


    Thanks for your reply.

    The problem is the number of values can and will change - so my schema will also need to change each time a new value is...

  • RE: Current Date order Query

    yusufm 48726 (5/7/2015)


    Cheers guys, I would ask in mysql forum. or is there a sql function where I could get current date orders?

    Well are you using sql server or mysql?...

  • RE: Current Date order Query

    yusufm 48726 (5/7/2015)


    Hi Guys,

    I am kind of struggling to get the result for current date orders but I can get the query working for due date.

    "

    SalesOrder.DateEntered,

    SalesLine.OrderQuantity, (SalesLine.OrderQuantity*SalesLine.SellingPrice / ...

  • RE: Pass param to Stored proc

    spaghettidba (5/7/2015)


    T-SQL is a horrible tool for this job and using the CPU of the SQL Server box to send pings is not a wise choice, generally speaking. Not to...

  • RE: Storing Values for Bitwise &

    nick.latocha (5/7/2015)


    I'm using a bitwise comparison to effectively store multiple values in one column. However once the number of values increases it starts to become too big for a int...

  • RE: Substring Date to DD/MM/YYYY

    gwyn.jones (5/7/2015)


    The problem with the database is that it is indeed a legacy system.

    That field is actually a free entry field so a user can enter what they want.

    The majority...

  • RE: Substring Date to DD/MM/YYYY

    Maybe you are not able to cast as datetime because you have the dateformat different on your system then the format of the text version of your dates. This will...

  • RE: Substring Date to DD/MM/YYYY

    gwyn.jones (5/7/2015)


    Gazareth, yes very observant, you are correct Period - I mean customer_order_no - '01/01/15 - 20/01/15' etc.

    I am adapting old code, hence the numerous substrings - I don't know...

  • RE: Substring Date to DD/MM/YYYY

    gwyn.jones (5/7/2015)


    I have a field called Period which stores a date range, i.e '01/01/15 - 20/01/15'

    I can convert the first part into a start_date using:

    substring(m.customer_order_no,1,2)+ '/' +substring(m.customer_order_no,4,2)+ '/' +substring(m.customer_order_no,7,2) as...

  • RE: How can i learn SQL Server 2014

    preethy06 (5/7/2015)


    How can i learn SQL Server 2014

    There are so many possibilities for an answer to this. Do you have any experience in sql server? Do you have any experience...

  • RE: help with exact match

    paul 17028 (5/7/2015)


    Thank you

    it's all making sense now. fields are only supposed to have one entry.

    Thank you all again

    Paul M

    Yes. You should read up on database normalization. Having properly normalized...

  • RE: New Topic Script file help

    minimay (5/6/2015)


    Im not trying to solve anything Im trying to figure out how to do this for future reference

    Dealing with dates in sql is a topic that many people don't...

  • RE: help with exact match

    In Access you would create a new table similar to something like this.

    create table ImageTags

    (

    ImageNumber number

    , TagDescription varchar

    )

    Then for your example of "woman , beach , sea , seaside ,...

Viewing 15 posts - 2,881 through 2,895 (of 15,381 total)