Forum Replies Created

Viewing 15 posts - 946 through 960 (of 1,957 total)

  • RE: Convert file from ANSI to UNICODE

    cast your column as unicode

  • RE: CTE - Temp table - CROSS APPLY

    Agreed about the lack of ORDER BY.

    However, luck would have it that it returns data for me, as long as I run it in a database that returns data for...

  • RE: Conditionally Go To URL in a new window

    jamey8420 (4/5/2013)


    That link works; thanks.

    One related question. My SSRS report is in a window that doesn't have the URL displayed. So when I click on my link, nothing...

  • RE: Convert file from ANSI to UNICODE

    SQL_Surfer (4/5/2013)


    ok Thanks...So, do I use both -w and -n ?

    Something like this will produce Unicode output.

    bcp "select N'test' as test" queryout test.txt -w -T

    You can check the format of...

  • RE: Conditionally Go To URL in a new window

    Oh yeah, sorry - that's the problem with typing code into this forum ! :w00t:

    Try this (replace the á with a regular a):

    =iif(Fields!budgetid.Value>1,"jávascript:void(window.open('http://system/forms/Summary.aspx?BudgetId=" & Fields!budgetid.Value & "','_blank'))","")

  • RE: Conditionally Go To URL in a new window

    jamey8420 (4/5/2013)


    I have a conditional hyperlink set up in my SSRS 2008 report.

    =iif(Fields!budgetid.Value>1,"http://system/forms/Summary.aspx?BudgetId="&Fields!budgetid.Value,"")

    This works fine. However, it is opening over my report and I don't want that....

  • RE: Convert file from ANSI to UNICODE

    Have you tried the "-w" switch?

  • RE: How to get result sets when using dynamic query

    Try using a dummy select, something like this inside your SP to allow the application to grok the table definition it is expecting

    CREATE PROCEDURE [dbo].[Get_Ques_id_for_can]

    (@candidate_id varchar(max),@Exam_id varchar(max),@sec_id bigint,@Q_id varchar(max) OUTPUT)

    AS

    --...

  • RE: Convert file from ANSI to UNICODE

    Based on the little information you have provided, no.

    How do you produce the ANSI file? SSIS? BCP? Copy and paste?

  • RE: How to preserve global temporary table data

    I wonder how much data we are talking about and whether a message queue is worth investigating?

  • RE: Cursor in Stored Procedure

    opc.three (4/1/2013)


    mister.magoo (4/1/2013)


    Lynn, Nope that pretty much sucks too! :hehe:

    Lynn's numbers seem off to me. I got ~10s for your method and ~50ms for Lynns. But Lynn's numbers make it...

  • RE: Cursor in Stored Procedure

    Lynn, Nope that pretty much sucks too! :hehe:

  • RE: Cursor in Stored Procedure

    Lynn Pettis (4/1/2013)


    Yea, but I think I'll stick with the FOR XML Version, the following was done against a database with 5147 tables in sys.tables:

    ---------- opc.three verison ----------

    Beginning execution loop

    CPU(ms):...

  • RE: The Command Shell

    I will lay my cards on the table: I am in agreement with Jeff Moden.

    On a properly secured server, disabling xp_cmdshell provides so little security gain (as it can be...

  • RE: How to preserve global temporary table data

    I quite like the idea of having a permanent tables (not in tempdb) with a process to remove them, but not automatically...

    I would have a system whereby you write an...

Viewing 15 posts - 946 through 960 (of 1,957 total)