Forum Replies Created

Viewing 15 posts - 301 through 315 (of 2,645 total)

  • Reply To: Best way to handle incremental duplicate data in SQL Server?

    You could add an IsCurrent bit column and set it to 1 for the most recent row and update older rows to 0. So no need for copying old data...

  • Reply To: The Left Joins

    drew.allen wrote:

    Carlo Romagnano wrote:

    To select all rows from CustomerLeft change join precedence by parentheses:

    SELECT *
    FROM dbo.CustomerLeft AS cl
    LEFT JOIN (dbo.CustomerContact AS cc
    INNER JOIN dbo.EmailDomain...
  • Reply To: whats the advantage of SSIS tool over other ETL Tool

    ZZartin wrote:

    wrote:

    Informatica ETL is highly recommended

    LOL this has to be an add bot.  Informatica hasn't had a major update in something like over a decade and doesn't support(or barely)...

  • Reply To: Altering a partition function

    Modifying a partition function in SQL Server is not quite as simple as altering a partition statement with the changed dates. Once a partition function is created and associated with...

  • Reply To: I have string data in a column and i need to strip out parts of it.

    DROP TABLE IF EXISTS #T
    GO
    CREATE TABLE #T (Col1 VARCHAR(100));

    INSERT INTO #T(Col1)
    VALUES ('UIMth: 07/01/23 UISeq: 444 Header Reviewer: DN'),
    ('UIMth: 07/01/23 UISeq:...
  • Reply To: Hash value in a primary key?

    You can change the collation of a column with an alter statement:

    ALTER TABLE MyTable
    ALTER COLUMN MyColumn VARCHAR(50) COLLATE SQL_Latin1_General_CP1_CS_AS

    You could add a computed column to your table...

  • Reply To: Hash value in a primary key?

    You can create a column on a database that is not case sensitive to be case sensitive

    CREATE TABLE MyTable
    (
    MyColumn VARCHAR(50) COLLATE SQL_Latin1_General_CP1_CS_AS
    )
  • Viewing 15 posts - 301 through 315 (of 2,645 total)