Forum Replies Created

Viewing 15 posts - 7,366 through 7,380 (of 8,760 total)

  • RE: SQL Server JOINS

    shaimaa.tarekelshoeiby (8/25/2014)


    Thank you for the excellent post .

    Can you please help me become capable of doing such analysis?

    How were you able to make the simplified ERD and come up with...

  • RE: PIVOT

    Raghavendra Mudugal (8/25/2014)


    sestell1 (8/25/2014)


    Does anyone actually use the PIVOT operator?

    I find it so limited that I almost always roll my own using GROUP BY and CASE.

    I have one SP where...

  • RE: Auto Generating Multiple XML Files Using SSIS

    Thank you for this nice piece C.J.

    😎

  • RE: Client side automatic reconnect fails after DB failover when SQL Server on non-default ports

    radek.hruby (7/22/2014)


    2) I tried to create two aliases on the client ("SQL2" -> "SQL2.company.com,2444" and "SQL2.company.com" -> "SQL2.company.com,2444") - didn't help (again - it should)

    Quick questions, did you create these...

  • RE: Extracting VarBinary(MAX) column to Flat File - Facing Issue.

    Jeff Moden (8/24/2014)


    nishav2 (8/22/2014)


    Thanks for your reply.

    The problem I cannot use a staging table since the data is sensitive data.

    You're saying that your normal data contains clear-text SSNs? And...

  • RE: Rebuild Index Job fails after running for 10 hours and after completing 80%.

    Quick question, how beefy is the index/indexes being rebuilt? Would it be an option to build an identical index with the ONLINE option and then drop the existing one afterwards?

    😎

  • RE: SSIS: Insufficient disk space

    arooj300 (8/25/2014)


    T is NTFS system type and data will be 12 M.

    Just a quick thought, could this be a permission issue? Try creating a folder, give the appropriate permissions on...

  • RE: Migratioon or Upgradaion

    ramana3327 (8/25/2014)


    Hi,

    If we want to move SQL Sever 2008R2 to SQL 2102,

    In placemigration (Upgradation) or side by side migration is better? How can we decide which one is better...

  • RE: One To Many and Many to One Selection

    From what I understand, this should get you started

    😎

    USE tempdb;

    GO

    create table dbo.error_staging

    (ld_date INT

    ,s_code varchar(10)

    ,error_code varchar(10)

    ,[mbr_no] varchar(10));

    insert into dbo.error_staging

    values(20140811, 'S000310D', '200016','A023539B'),(20140812, 'S000430D', '200016','A544348B'),(20140813, 'S001204D', '200016','A240640B'),

    (20140815, 'S000365D', '200160','A398944B'),(20140815, 'S000446D', '200160','A395200B'),(20140815,...

  • RE: Need help to using PATINDEX

    Qira (8/25/2014)


    tq very much

    You are welcome.

    While the splitting part works fine with very short list of elements, you might want to look at DelimitedSplit8K[/url] for better splitting performance when handling...

  • RE: SSIS: Insufficient disk space

    arooj300 (8/25/2014)


    Hi Eirikur

    Thanks for the reply. I have plenty of space in T drive almost 200 GB. and I have checked with partial and no cache but there is no...

  • RE: Generate script for view dependencies of user defined table types ?

    kbhanu15 (8/25/2014)


    Hi All,

    can you please provide the T-SQL script for the following request ?

    Generate script for view dependencies of user defined table types ?

    Quick solution, searches sys.parameters for the...

  • RE: SSIS: Insufficient disk space

    The error is exactly what is says on the tin, the system is out of disk space on the T: drive. To resolve this, either some space has to be...

  • RE: Need help to using PATINDEX

    Here is a quick solution, uses charindex instead of patindex. It does leave some room for improvements though, especially in the search string splitting part.

    😎

    USE tempdb;

    GO

    /* The strings to search...

  • RE: Matching the value after using STUFF

    dwain.c (8/25/2014)


    Eirikur Eiriksson (8/24/2014)


    dwain.c (8/24/2014)


    Maybe I'm missing something here but I think there's no reason to construct a delimited list at all.

    SELECT a.CVID, a.JobNoticeID, IsMatch=CASE WHEN b.JobNoticeID IS NOT NULL...

Viewing 15 posts - 7,366 through 7,380 (of 8,760 total)