Forum Replies Created

Viewing 15 posts - 2,896 through 2,910 (of 7,609 total)

  • RE: trimming SSNs

    RonKyle - Wednesday, March 20, 2019 7:26 AM

    Jeff Moden - Wednesday, March 20, 2019 7:01 AM

    March 20, 2019 at 8:29 am

    #2025019

  • RE: trimming SSNs

    RonKyle - Tuesday, March 19, 2019 1:30 PM

    For all of you advocating encryption, how do you stored SSNs?  Fortunately I don't deal...

  • RE: SP with Conditional Where clause where

    Something like this:


    SET ANSI_NULLS ON;
    SET QUOTED_IDENTIFIER ON;
    GO
    CREATE PROCEDURE [dbo].[AppTracker_Milestone_Dates_Browse_SP]
        @UserName VARCHAR(51),
        @DecisionDate DATE,
        @State...

  • RE: Change in row values identification

    Rehan Ahmad - Tuesday, March 19, 2019 6:52 AM

    Thom A - Tuesday, March 19, 2019 5:54 AM

  • RE: trimming SSNs

    Luis Cazares - Monday, March 18, 2019 2:27 PM

    I would like to emphasize some things that have already been said.
    First thing you...

  • RE: trimming SSNs

    jcelko212 32090 - Friday, March 15, 2019 11:40 AM

    ScottPletcher - Friday, March 15, 2019 9:04 AM

    March 15, 2019 at 1:15 pm

    #2024640

  • RE: trimming SSNs

    jcelko212 32090 - Thursday, March 14, 2019 8:19 PM

    ScottPletcher - Thursday, March 14, 2019 3:01 PM

    March 15, 2019 at 9:04 am

    #2024584

  • RE: trimming SSNs

    jcelko212 32090 - Thursday, March 14, 2019 1:44 PM

    briancampbellmcad - Wednesday, March 13, 2019 9:50 AM

    March 14, 2019 at 3:01 pm

    #2024504

  • RE: Difference in checksum calculations.

    Maybe two separate hashes: (1) all the other columns and (2) the 4K column alone?

  • RE: insert to .XLSX fails if len(column) > 255

    polkadot - Wednesday, March 13, 2019 10:46 AM

    In this case TRIM won't be acceptable.  I have also tried ORDER BY len(materialdescription_ups) DESC,...

  • RE: insert to .XLSX fails if len(column) > 255

    Trim it within the SELECT statement:


    --insert records into $Sheet1 of Template
    SET @SqlCmd =    
    'INSERT OPENDATASOURCE   
    ( ''Microsoft.ACE.OLEDB.12.0'',''Data Source=' + @ServerShare + '\' + @ExportFileName...

  • RE: Script to close the excel file

    There should be some way to copy the file even with the "busy" flag on.  Then open the copy, not the original.

    That is, the logic becomes:
    check for...

  • RE: SQL help to match only 3 values

    For 3 varchar values, it's tricky, and I'd have to do some testing/experimenting first. 

    For 3 numeric values, it's easy to list all 3.

    For only 2 values of...

  • RE: SQL help to match only 3 values

    It looked you also wanted to list the specific values found.

    That's easy for two values, much trickier for 3 (3 numeric values is easy, but not 3 char...

  • RE: SQL help to match only 3 values

    SELECT pid
    FROM @table1
    GROUP BY pid
    HAVING COUNT(DISTINCT gcode) = 3

    I don't understand why you don't have p1 and p3 in your result set.

Viewing 15 posts - 2,896 through 2,910 (of 7,609 total)