Forum Replies Created

Viewing 15 posts - 586 through 600 (of 1,114 total)

  • RE: Time Calculation

    How about this ?

    create table #CallCost

    (

    Phoneno varchar(10),

    Duration varchar(15),

    Cost numeric(8,2)

    )

    insert into #CallCost

    select '9841645768','00:20:15',20

    union all

    select '9841645768','00:00:15',1

    union all

    select '9940272484','00:55:01',60

    union all

    select '9940272484','00:01:15',2

    union all

    select '9940272484','00:10:15',10

    union all

    select '9841645768','00:00:55',1

    union all

    select '9841645768','00:00:59',20

    union all

    select '9841645768','00:00:59',20

    union all

    select '9841645768','00:00:59',20

    union all

    select '9841645768','00:00:59',20

    union...

    karthik

  • RE: Membership detail

    Steve,

    Thanks for your information.

    I'm curious as to why you're interested and we certainly don't want people to have a goal of boosting their counts without adding to the site. We...

    karthik

  • RE: calculating hours worked

    Please post with more details. You have given only Date ,whether it denotes start date or end date or both.

    karthik

  • RE: ERROR: String o binary data would be truncated

    Bananas in pyjamas are coming down the stairs,

    Bananas in pyjamas are coming down in pairs,

    Bananas in pyjamas are chasing teddy bears,

    'Cause on Tuesdays they all try to catch them unawares!

    🙂

    karthik

  • RE: Null value is eliminated by an aggregate or other SET operation.

    or ...

    just replace your code to

    MIN(isnull(u.ITEM,0)) AS UnitItem

    karthik

  • RE: Parsing T-SQL

    Thanks rbarryoung.

    karthik

  • RE: Parsing T-SQL

    There are lots of things that Rollback cannot undo.

    can you tell me what are all those ?

    karthik

  • RE: splitting a row into multiple rows.

    If you want to know more about 'Tally' table, read the following URL.

    http://www.sqlservercentral.com/articles/TSQL/62867/

    karthik

  • RE: splitting a row into multiple rows.

    You can do it by using Tally table or master..spt_values table.

    karthik

  • RE: small Transaction and insertion

    I do agree with you, I am also suggested the same way.

    karthik

  • RE: DB Design ideas

    Gila,

    The suggestion of a comma-delimited list in a single column violates the first. It it often suggested as a 'solution', but tends to cause mor problems than it solves.

    how...

    karthik

  • RE: eliminating duplicates

    rbarryyoung,

    when will your article published ? i am eagerly expecting your article.

    karthik

  • RE: PASS

    is it a group ? do we need to pay for this group ? Can you explain me the purpose of PASS ?

    karthik

  • RE: Congratulations to Our New MVPs

    Jeff is my sql teacher. I have learned lot of things from his reply,forums & articles.

    If i did any mistake, whether it may be in sql side or in communication...

    karthik

  • RE: Extract table data and divide by hours

    But I think PIVOT option is introduced in sql2005 only.

    SQL Server 2005 introduces the new PIVOT keyword, however I think it will be a disappointment to most. What people have...

    karthik

Viewing 15 posts - 586 through 600 (of 1,114 total)