Forum Replies Created

Viewing 15 posts - 976 through 990 (of 1,082 total)

  • RE: Half a Million

    How has SSC changed my life is the real question that I asked myself when I saw this!

    I have been programming for a few years now and found that my...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Latest forum posts

    Thanks Steve,

    That recent posts section is cool.

    I'll start using that from how 🙂

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Latest forum posts

    HI Steve,

    Sorry yeah I should have mentioned that the last site didn't have it either 😀

    I was just wondering if you guys ever found time if you could add this...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Complex grouping

    I've tried this for now.

    I'm not sure 100% about your joins or columns but I'm sure you'll get the jist of it:

    SELECT

    O.OfficeAbbr,

    U.Name,

    AVG(E.FinalAmount) AS Average,

    COUNT(E.EstimateID) AS Number,

    SUM(E.FinalAmount) AS Total

    FROM Estimates E

    INNER...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Complex grouping

    Is there a date column on the job table that tells you which is the most recent?

    Also how does the job table link back to the other tables?

    thanks

    Chris

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Latest forum posts

    HI ,

    Thanks for the reply, I was referring to the main page.

    At the moment I can't see anything that tells me if it is a erply or not.

    Thanks

    Chris

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: How do I retrieve the last inserted row?

    HI there,

    It seems that you already have an Identity Column on your table?

    What don't you use that and then retrieve the dat from there?

    Also does this have to be done...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: delete duplicate

    Hi ,

    I would prob create a working table to start the ID's of the records witht he Max dates for each change in the name.

    I would then delete from the...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Differential performance between Query Analyser and remote .asp

    Hi There,

    Just a thought.

    Where are you ASP pages sitting in relation to your Database?

    Also is you QA in a different location to your Database?

    I know that when we access our...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Get Table Count without using COUNT

    Why would you want to do that?

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Copy Query Analyser results pane including header

    HI ,

    The only way that I know how to do this is as follows:

    1 return your results to a file instead of Grid.

    Or return your results to text and then...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Conversion failed when converting datetime from character string.

    HI ,

    Have you checked your DATA?

    Sometimes the Data in your char/varchars is not compatiable with a datetime variable.

    Thanks

    Chris

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: SQL 2000 vs. 2005 T-SQL output results vary

    HI there,

    I have tried this on SQL2005 comp mode 90 and 80 and on SQL2000 and I always get the same result.

    (the one with the nulls)

    I agree that perhaps there...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: To put a string in a variable & use it in a WHERE?

    The variable is declared out side of the string.

    Try this

    set

    @sql = 'update #Table2 Set romotionType=...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: To put a string in a variable & use it in a WHERE?

    Hi There,

    Looks like the following table

    #OrderDetails

    was not created with in your dynamic string, putting it out of scope of your execution string.

    You could change this to a...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life

Viewing 15 posts - 976 through 990 (of 1,082 total)