Forum Replies Created

Viewing 15 posts - 7,351 through 7,365 (of 13,881 total)

  • RE: SQL2014 Developer disable Enterprise features

    We have many projects that we run in 2014 Developer mode

    What do you mean by this?

  • RE: Preferred way to check if the rows returned for a select query is null

    SQL!$@w$0ME (4/1/2016)


    I would like to check if the results for a select query is null. If there are no rows returned print "no rows" else send an email.

    What is the...

  • RE: SSIS Performance Question - Child Packages

    larry.andrews (3/31/2016)


    I've stumbled into an unexpected situation.

    I'm observing significant performance differences depending on how a child Package is launched.

    Scenario 1 : Single Master Package calling Specific Packages

    Scenario 2 : ETL...

  • RE: Bulk load error File Could Not Be Opened

    Is the file path local to the client, or the server?

  • RE: Convert a string with an array of variables?

    Very clever indeed. How would this be applied against a column in a table?

    With some difficulty. I tried a few ideas & failed. Looking forward to seeing someone else...

  • RE: Non cursor based looping within a script.

    mister.magoo (3/31/2016)


    Why aren't you just doing this:

    INSERT INTO [Table] (UserID, RefID, NewValue)

    SELECT UID, RefID, 'Fixed message'

    From UserTable

    Where <Some condition>.

    Exactly what I was wondering.

  • RE: Convert a string with an array of variables?

    Sergiy (3/30/2016)


    Solution is suprisingly simple.

    1. Create a "translation" table:

    CREATE TABLE #Mapping (

    FromChar NCHAR(1) PRIMARY KEY,

    ToChar NCHAR(1)

    )

    INSERT INTO #Mapping ( FromChar, ToChar )

    SELECT 1, 'A'

    UNION ALL

    SELECT 2, 'B'

    UNION ALL

    SELECT...

  • RE: Convert a string with an array of variables?

    Kevlarmpowered (3/30/2016)


    Thanks... I knew there had to be an easier way. I will check to see if the 8K is installed on that server or not. Maybe I'll...

  • RE: Are the posted questions getting worse?

    Sean Lange (3/30/2016)


    Lynn Pettis (3/30/2016)


    From what I know about VB.NET and C# (which isn't a lot), VB.NET does things for you behind the scenes that you have to do explicitly...

  • RE: Convert a string with an array of variables?

    Can you elaborate on the conversion rule?

    Does every character map to another specific character, or is its position within the string also important?

  • RE: SSIS on a dedicated server?

    sqlfriends (3/29/2016)


    I will put CPU thing on another research.

    But for implementing and upgrading to new environment, just want to know to put ssis on a separate server or on the...

  • RE: Executing SSIS package through SQL job

    ramana3327 (3/29/2016)


    It works me in this way

    Instead of running as proxy account, you can modify the SQL job enter the password at the commandline. It is working fine for me

    This...

  • RE: Creating Combined Queries

    Alan.B (3/29/2016)


    You would use AND.

    SELECT vend_id, prod_id, pro_price

    FROM products

    WHERE prod_price <=5

    AND vend_id IN (1001, 1002);

    Disagree. This requires an OR.

    select a from b where condition1

    union (should probably be union all)

    select a...

  • RE: On formatting SQL code

    diamondgm (3/29/2016)


    TomThomson (3/28/2016)


    Eric M Russell (3/28/2016)


    The stored procedure I'm currently tasked with refactoring reads like a 20 page short story by Clive Barker.

    You have my deepest sympathy.

    I wrote some of...

  • RE: Using JOINs with GROUP BYs

    SQL 2016 (3/28/2016)


    Sorry the my example and code did not post correctly due to me. Here is my example and 2 questions:

    SELECT customers.cust_name,

    customers.cust_id,

    Count(orders.order_num) as num_ord

    FROM customers INNER JOIN orders

    ON...

Viewing 15 posts - 7,351 through 7,365 (of 13,881 total)