Forum Replies Created

Viewing 15 posts - 13,711 through 13,725 (of 13,838 total)

  • RE: Aussie conversion problem

    So do you know at what stage in the process that the conversion is failing for these records?

    I'm thinking it could be

    a) Something in the logic of the conversion program...

  • RE: Aussie conversion problem

    So you've got everything you can find on your server set to US format and you're still getting d/m/y date format problems from somewhere?

  • RE: Aussie conversion problem

    So are you trying to make your SQL Server 'pretend' it is American? Don't know whether this will work, but you might try changing the control panel/regional options on...

  • RE: Join Issues

    Hi Ed

    If, for a particular record in 'organization', a related record does not exist in the 'totals' table, all of the fields retrieved from the totals table will be NULL.

    So...

  • RE: Difference b/w On and Where

    In general, for readability ...

    'On' should be used for joins between tables:

    select * from tablea a inner join tableb b

    on a.id = b.id

    etc

    'Where' should be used to filter the results...

  • RE: Constructing SQL Statement - Double Outer Join

    Are you looking for all the combinations -

    PRIM1 | A | B

    ---------------------

    1 A1 B1

    1 A1 B2

    1 A1 B3

    1 A2 B1

    1 A2 B2

    1 A2 B3

    From your post, I'm guessing not....

  • RE: extend the timeout duration

    Agree with you Joseph - same has happened to me several times, on the longer, more time-consuming posts of course. There must be a way round this that doesn't...

  • RE: Max for each

    Something like this should get you close:

    SELECT S.record_count,

    max(T.trip_id),

    S.compart_no,

    T.boat_id,

    T.boat_type,

    S.recordor_id,

    S.record_type,...

  • RE: i have a problem

    Have you posted this in the wrong forum, or is there some hidden T-SQL problem?

  • RE: How to return a 0 value instead of null

    Use the isnull() function. Try this example:

    declare @var1 integer, @var2 integer

    set @var1 = null

    set @var2 = 25

    select isnull(@var1,0) as var1, isnull(@var2,0) as var2

    Cheers

    Phil

  • RE: Datename Help Please

    Here's another stupid way:

    SELECT DATENAME(month, @month * 28)

    -- where @month contains an integer between 1 and 12.

    Can't see any more obvious way. It would perhaps be more elegant to...

  • RE: Statistics?

    Hi Russell - so what, exactly, are you looking for?

    1) Are you looking for a way of randomly selecting a sample % of records from an overall population?

    2)...

  • RE: Help With Decimal Places (please!)

    Wow! How accurate do you need to be?

    The Money datatype in SQL Server helpfully rounds to 4dp, so that's possibly where things...

  • RE: Question of the Day for 23 Aug 2004

    Hmmm ... if you follow the Dictionary.com definition a little bit further down the page, you get to this:

    Main Entry: effect

    Function: transitive verb

    1 : to cause to come into being

    2...

  • RE: use when database is a variable

    Hi Frank, check out this thread for more info on this.

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=127527

    Regards

    Phil

Viewing 15 posts - 13,711 through 13,725 (of 13,838 total)