Forum Replies Created

Viewing 15 posts - 3,451 through 3,465 (of 8,753 total)

  • RE: Package runs in debug but fails in Job task

    dhb (7/17/2016)


    I have a very simple SSIS package I created in VS2015 whose first step is a FileSystem task to rename a file. It executes fine in debug mode. I...

  • RE: t-sql 2012 query issue

    wendy elizabeth (7/17/2016)


    What other sql options are you thinking that would work?

    I did not include all my question since I was trying to determine what was wrong with my original...

  • RE: t-sql 2012 query issue

    Ed Wagner (7/17/2016)


    There are several approaches to the problem. Here's the one I would pick:

    SELECT personid

    FROM dbo.TranscriptCourse

    EXCEPT

    SELECT personid

    FROM dbo.TranscriptCourse

    WHERE EndYear = 2013;

    Quick thought,...

  • RE: XML data to columns

    Mark Cowne (7/17/2016)


    Interesting!

    Yes indeed and often overlooked.

    The difference is quite large, without the text() function, each value method results in three XML function calls, sort, joins etc., 15 operators in...

  • RE: XML data to columns

    Slight difference in the query but huge in performance by using the text() function

    😎

    ;WITH XML_CONVERT AS

    (

    SELECT

    XN.XN_ID

    ...

  • RE: subqurey omits too records from table trvchar ---can any one help to join

    Quick thoughts, change the old style ANSI joins to normal joins, move any join conditions from the where clause to the joins and then check for any remaining LEFT table...

  • RE: Allocation and Consistency Errors

    Quick thoughts, looks like corruption in sys.sysobjvalues (object_id 60) and then some

    Table error: Object ID 563604212, index ID 2, partition ID 72057664724140032, alloc unit ID 72057664734167040 (type In-row data). Page...

  • RE: XML musings

    You are very welcome.

    😎

  • RE: XML musings

    Quick suggestion

    😎

    SELECT ids.DataSet.value('(./text())[1]','INT') AS ID

    FROM @IDs.nodes('/IDs/ID') AS ids(DataSet)

  • RE: Are the posted questions getting worse?

    Phil Parkin (7/14/2016)


    Ray K (7/14/2016)


    Brandie Tarvin (7/14/2016)


    I'm in the last few days before Go Live on a major infrastructure upgrade. I'm lucky I can spell SEQUAL. @=)

    I once had a...

  • RE: Are the posted questions getting worse?

    ThomasRushton (7/14/2016)


    Brandie Tarvin (7/14/2016)


    ThomasRushton (7/14/2016)


    Brandie Tarvin (7/14/2016)


    I'm in the last few days before Go Live on a major infrastructure upgrade. I'm lucky I can spell SEQUAL. @=)

    Isn't that the time...

  • RE: FullText Index on Image

    torfi (7/13/2016)


    Takk, takk Eirikur. This was a great relief. I've been struggling with this problem nearly a week :w00t:

    Ekkert mal

    😎

    You are welcome

  • RE: Columns to row

    Phil Parkin (7/13/2016)


    Eirikur, is your test database really called 'TEEST'? 🙂

    Yees

    😎

  • RE: Columns to row

    Quick suggestion

    😎

    USE TEEST;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.Test') IS NOT NULL DROP TABLE dbo.Test;

    CREATE TABLE [dbo].[Test](

    [PK] [int] IDENTITY(1,1) NOT NULL,

    [COLUMN1] [nvarchar](50) NOT NULL,

    [COLUMN2] [nchar](10) NULL,

    [COLUMN3] [nchar](10) NULL,

    [COLUMN4] [nchar](10) NULL,

    CONSTRAINT [PK_Test] PRIMARY...

  • RE: FullText Index on Image

    torfi (7/13/2016)


    Thanks for the advise put it didn't change anything. Now I created the index like this:

    CREATE FULLTEXT INDEX ON MalBokunSkyrsla

    ( Skjalid TYPE COLUMN Filextension Language 1039) KEY...

Viewing 15 posts - 3,451 through 3,465 (of 8,753 total)