Forum Replies Created

Viewing 15 posts - 16 through 30 (of 60 total)

  • RE: Is there any way to capture parameter values passed for nested stored procedures?

    the easiest option would be to use the debug feature available in SSMS or you can print/select the variable values before the nested SP is called. Also I believe it...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: New line Charecter

    As mentioned by GSquared, if u want to introduce newline in the place of the delimiter you can go for replace function else it would be advisable to look into...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: can i join a table valued function with a table?

    This should help

    http://www.sqlservercentral.com/articles/APPLY/69953/

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: # of characters

    ***Edited***

    Above mentioned method works better..

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: Is there any way to capture parameter values passed for nested stored procedures?

    crazy4sql (7/26/2011)


    you can run profiler using filters for the database specific and user specific(to make less entries in profiler) and then run the stored procedure using the user you mentioned...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: Is there any way to capture parameter values passed for nested stored procedures?

    I see that you need to capture the parameter that is passed to a stored proc which is nested... the question is where do you want to capture it or...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: No Columns returned by the query

    🙂 thanks... and as a side note... the Script component starts throwing timeout errors for long running queries and setting the timeout in the properties of the connection manager doesnt...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: No Columns returned by the query

    I would certainly try to avoid the RBAR. It is notoriously slow. As long as your dataset isn't that big that it chokes the tempdb with the temp table, I...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: No Columns returned by the query

    I followed a similar approach to resolve this... Just that instead of using a TVF I inserted the values directly into a temp table and referenced it [the temp...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: No Columns returned by the query

    Thanks Koen, Iam sorry missed out that info in my initial post... I tried with SET FMTONLY ON and no count is available in the procs by default..

    I still dont...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: Quick question on zip code searches: U.S. and Canada

    Ideally Addition of 750000 records shouldn cause much problems.... Did you check the execution plan?

    If you want any of us to analyze further into the issue i suggest you...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: Quick question on zip code searches: U.S. and Canada

    Did you re index the table after inserting the records? whats the difference in the execution plan?

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: counting records and summing money amount

    u can try cube/roll up.. or here is something without that..

    Assuming this would be the table structure..

    create table #test (pid int,t_name varchar(10),amount float)

    /*

    Insert the test data....

    */

    SELECT * FROM #TEST

    UNION...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: date DD:MM:YYYY ?

    ok... try converting it to datetime...

    select convert(DATETIME,'31.12.11',4)

    result ==> 2011-12-31 00:00:00.000

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

  • RE: date DD:MM:YYYY ?

    skynet_si (6/22/2011)


    So how do I use it in this query ?

    USE MYDATABASE

    INSERT INTO MY_TABLE (TYPE,START_DATE,END_DATE,RATE)

    VALUES

    ('DBLMS','2011.03.01','2011.04.16','104');

    ????

    What do you want to do in the query?? do you want to insert values...

    [font="Times New Roman"]For better assistance in answering your questions
    Click Here[/url][/font]

Viewing 15 posts - 16 through 30 (of 60 total)