Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: bcp failing with where clause

    Thanks mr_opto that was the issue with needing four single quotes. The second problem came about because you can not put this code on multiple lines. It has to be...

  • RE: bcp failing with where clause

    Thanks for your response however I don't think that is the issue. I changed to this and received the following output.

    When @import_type = 'UserDetails' Then

    'exec master..xp_cmdshell ''bcp

    "Select v.EntryValue,...

  • RE: Joining 2 databases without hardcoding database name

    Here is one idea. Hopefully you can work it out from here.

    USE [VC]

    GO

    /****** Object: StoredProcedure [dbo].[Events_Aggregate_Count_by_EventType_AD] Script Date: 09/16/2011 16:37:57 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    ALTER Procedure...

  • RE: Using BCP to export to a CSV file

    I think I am having a simular issue which I have been unable to solve so far. Any ideas?

    This works in a query window in SQL Management Studio;

    Select v.EntryValue, FirstName,...

  • RE: Rs.Render

    This is great if you have a parameter with only one value but how does one pass in many values for a single parameter?

    This worked for me, save this file...

Viewing 5 posts - 1 through 5 (of 5 total)