Forum Replies Created

Viewing 15 posts - 1,321 through 1,335 (of 2,452 total)

  • RE: Insert the outstanding totals into differenent Colums in Excel sheet

    oops...too hasty in my response...."Current" is a reserved word...this can be overcome by enclosing in square brackets or alter the name to something that isn't reserved...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert the outstanding totals into differenent Colums in Excel sheet

    rtopal1907 (7/21/2014)


    you were right I missed commas, it has been fixed now and working perfectly thank you very much for your help.

    Also how do I change Colum header name? For...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert the outstanding totals into differenent Colums in Excel sheet

    rtopal1907 (7/21/2014)


    thanks for your reply I get these error messages

    1- incorrect syntax near the keyword'CASE'

    2- incorrect syntax near the keyword'age31to60'

    3- incorrect syntax near the keyword'age61to90'

    I have put the...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Dynamic Audit

    is this as simple as changing

    @captured_column_list = N'CountryId,CountryName,CountryCode'

    to

    @captured_column_list = N'CountryId,CountryCode'

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert the outstanding totals into differenent Colums in Excel sheet

    as a start...does the following query give you the results you expect?

    SELECT

    Entities.Code

    , Entities.Name

    , Ac_Billbook.MatterRef

    , Ac_Billbook.BillDate

    , Ac_Billbook.Ref

    , Matters.FeeEarnerRef

    , Users.FullName

    , Ac_Billbook.OutstandingTotal

    , CaseTypes.CodeName

    , CaseTypes.Description,

    , CASE WHEN DATEDIFF(day, Ac_Billbook.BillDate, getdate()) Between...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert the outstanding totals into differenent Colums in Excel sheet

    rtopal1907 (7/21/2014)


    Dear all

    I have a data table which has list of bills with date and outstanding total.

    If the bills dates between 0 and 30 I like to insert...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to efficiently import data in .rpt format into SQL 2008

    halifaxdal (7/20/2014)


    J Livingston SQL (7/18/2014)


    halifaxdal (7/18/2014)


    Here is the format file, .xml is changed to .txt to get uploaded on this forum. Thanks.

    I think the issue is the last column, like...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Create SQL table from an Excel spreadsheet

    as an example of what may work for you...........

    I have a spreadsheet called JLS.xlsx that is always stored in C:\xlimport (C:\xlimport\jls.xlsx)

    it has a worksheet named "data" that I want...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: MS Access .mdb & .ldb database corrupted

    ibrahim46fattakh (7/19/2014)


    You can try to Compact and Repair your corrupt database. This is the very first solution you must try.

    If it doesn't work, this means the database is severely...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: MS Access .mdb & .ldb database corrupted

    ...and here is a link that defines your problem exactly...including poor grammar and spelling errors....hmmmmm:-)

    http://p2p.wrox.com/access/28374-ms-access-mdb-ldb-database-corrupted.html

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Combining multiple rows into one row

    will GROUP BY and MAX do it to get the new rows?

    edit...whats the business rule for IDKEY...??

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to efficiently import data in .rpt format into SQL 2008

    halifaxdal (7/18/2014)


    Here is the format file, .xml is changed to .txt to get uploaded on this forum. Thanks.

    I think the issue is the last column, like I indicated in previous...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: calculate the sum of dates minus repetitive dates

    OP...what is the correct answer for the count of "repetitive days"...seems my answer is different than the others ???

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: calculate the sum of dates minus repetitive dates

    this is just for your "repetitive days"

    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[temp_tbl]') AND type in (N'U'))

    DROP TABLE [dbo].[temp_tbl]

    GO

    CREATE TABLE [dbo].[temp_tbl](

    [tbl_id] [bigint] NULL,

    [cs_id] [int] NOT NULL,

    [USERID] [int]...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: calculate the sum of dates minus repetitive dates

    pmadhavapeddi22 (7/18/2014)


    twin,

    we have two date columns like assgn_dtm and complet_dtm.

    Need to calculate the difference of these two dates

    for a given cs_id and userid

    cs_id and userid can have multiple rows...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 1,321 through 1,335 (of 2,452 total)