Forum Replies Created

Viewing 15 posts - 1,891 through 1,905 (of 5,590 total)

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/17/2011)


    While in the meeting, the consultant turned to me and said, "Hey Grant, didn't you just give a presentation on this to 600 people?" Our dev team sat...

  • RE: displaying range prices by product

    How's this?

    -- See how you start off by actually creating a table and then

    -- inserting the data into it? Your doing this makes it a lot easier

    -- for all...

  • RE: Break Date Into Date Range

    How's this?

    DECLARE @Holiday TABLE (HolidayId int identity(1,1) primary key, HolidayDate DateTime)

    INSERT INTO @Holiday(HolidayDate) VALUES('7/4/2011')

    INSERT INTO @Holiday(HolidayDate) VALUES('12/24/2011')

    INSERT INTO @Holiday(HolidayDate) VALUES('12/25/2011')

    INSERT INTO @Holiday(HolidayDate) VALUES('12/31/2011')

    INSERT INTO @Holiday(HolidayDate) VALUES('8/11/2011') --* Yea,...

  • RE: Are different service packs allowed in a multiple SQL instance in 1 server ?

    However, the core (shared) components would be at the highest SP level.

  • RE: Creating a comma-separated list (SQL Spackle)

    Paul,

    Hmm, I don't recall seeing that before. It definitely is good stuff.

    I'll have to run some tests to see if there is a length restriction - could turn out to...

  • RE: csv unpivot WITH identifying column

    Change:

    (select row_number() over (order by name) as id, name + ',' + salesnumbers from thetable;

    to

    (select row_number() over (order by name) as id,

    ...

  • RE: csv unpivot WITH identifying column

    LutzM (1/13/2011)


    Expanding Waynes code:

    Thanks Lutz!

    @dandenson - in the first post, you had your expected results encased in single quotes; in your subsequent post you took them out. That whole replace...

  • RE: csv unpivot WITH identifying column

    dandenson (1/13/2011)


    Thanks Wayne, your code works wonderfully. I do have a few questions though.

    First, I'm trying to learn/understand this. I get that ItemNumber comes from the DelimitedSplit8K function...

  • RE: Splitting Text

    Did you build it properly? You might want to check out the article The "Numbers" or "Tally" Table: What it is and how it replaces a loop. [/url]

  • RE: Morning Review not working on SQL 2008 Servers

    At this point, I'm not sure. How about posting everything in the SSIS_Errors table for the last run only? There might be other messages in there that will give us...

  • RE: csv unpivot WITH identifying column

    How's this?

    declare @test-2 varchar(100);

    set @test-2 = '''jack'',''25,A67,91J''';

    WITH CTE AS

    (

    SELECT *

    FROM dbo.DelimitedSplit8K(@test, ',')

    )

    SELECT UserName = CTE1.Item, SaleNumber = Replace(CHAR(39) + CTE2.Item + CHAR(39), CHAR(39)+CHAR(39), CHAR(39))

    FROM CTE CTE1

    ...

  • RE: Morning Review not working on SQL 2008 Servers

    Are you specifying the instance name in the servername fields?

    If you're using an alias - is it set up with the instance name?

    That error sounds like something we saw dealing...

  • RE: Backing up SQL Server 2005 using ntbackup

    If you're doing differential backups, be careful. VSS will invalidate the last full backup, and the differentials will fail. (Found out the hard way when differentials starting failing... investigation found...

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (1/13/2011)


    I wonder how many kids these days actually have tiddlywink sets.

    I just wonder how many of you kids know what tiddlywink sets are! :w00t:

  • RE: Are the posted questions getting worse?

    LutzM (1/13/2011)


    Any of the Threadizens interested in a performance tuning project in the Los Angeles area? Drop me a PM.

    You're in the LA area? I thought you were in Germany!

Viewing 15 posts - 1,891 through 1,905 (of 5,590 total)