Forum Replies Created

Viewing 15 posts - 136 through 150 (of 363 total)

  • RE: sql Group by Error

    [font="Verdana"]

    SELECT

    ACCT.CUST_ACCT_ID,

    ('SHAW') AS SOURCE_SYS ,

    (CASE WHEN (SUBSTRING(ACCT.OPR_ACCT_NR,14,3) =...

    MH-09-AM-8694

  • RE: String Execution in SQL

    [font="Verdana"]

    Try this...

    declare @i varchar(100)

    set @i = '''as400'',''cps'''

    select * from t_system where systemcode in (@i)

    Mahesh

    [/font]

    MH-09-AM-8694

  • RE: Insert Into {Temp Table } Exec {Stored Procedure}

    [font="Verdana"]I got the answer. At 1st occurance Temp Table does not have data, so it obviously going to Scan the table.

    Mahesh[/font]

    MH-09-AM-8694

  • RE: Finding count in a resultset

    [font="Verdana"]Solution given by Michael is correct. You must be missing something. Check it out.

    Mahesh[/font]

    MH-09-AM-8694

  • RE: Begin-Commit Transaction

    [font="Verdana"]

    sachinthamke (6/18/2008)


    Thanks for u r replay

    I m using the stored procedure for storing usp_InsertMaster,usp_InsertDetail. the detail sp used to store the items for sending the XML parameters there is...

    MH-09-AM-8694

  • RE: Get TempTable name

    [font="Verdana"]Such temporary objects gets stored into TempDB database. you will get it from there.

    Select * From sysobjects where Name = '{temp table name}'

    Mahesh[/font]

    MH-09-AM-8694

  • RE: Retrieve Data from XML Field of a table

    [font="Verdana"]OPENXML will help you in such case.[/font]

    MH-09-AM-8694

  • RE: CSV data import/export via a stored procedure?

    [font="Verdana"]

    stacya (6/12/2008)


    I need to be able to import a CSV file into a table via a stored procedure. It would be nice if I could pass the file name...

    MH-09-AM-8694

  • RE: CSV data import/export via a stored procedure?

    Jeff Moden (6/12/2008)


    Michael Earl (6/12/2008)


    OpenQuery will allow you to do this.

    Do you have example code of how to use OpenQuery to export to a CSV File?

    Jeff, Michael might have intent...

    MH-09-AM-8694

  • RE: Alternate for Varchar(8000)

    [font="Verdana"]Have you tried nText datatype, I am not sure but it might help you.

    Mahesh[/font]

    MH-09-AM-8694

  • RE: free sql server 2005 bible

    Mahesh Bote (6/9/2008)


    [font="Verdana"]fyi...

    Editor's Note: Link removed.

    Mahesh[/font]

    ll take care in future

    MH-09-AM-8694

  • RE: free sql server 2005 bible

    [font="Verdana"]fyi...

    Editor's Note: Link removed.

    Mahesh[/font]

    MH-09-AM-8694

  • RE: Reg:Select Statement with row as Column

    [font="Verdana"]Search for PIVOT in BOL.

    Mahesh[/font]

    MH-09-AM-8694

  • RE: FOR AFTER DELETE trigger

    [font="Verdana"]Run SQL Profiler, through which you can get all the information you desired.

    Mahesh[/font]

    MH-09-AM-8694

  • RE: Finding file path

    [font="Verdana"]I doubt, this is possible through TSQL. Better you go and check the File object (I am not sure, under which Namespace it comes) in ASP .Net. You will surely...

    MH-09-AM-8694

Viewing 15 posts - 136 through 150 (of 363 total)