Forum Replies Created

Viewing 15 posts - 46 through 60 (of 127 total)

  • RE: search query question - best way ..

    strings, no id's being passed

  • RE: search query question - best way ..

    remove like isn't an problem, my first crack at is had { = }, as for performance, quicker the better. 🙂

  • RE: rows into columns

    @jeff, thanks for your help on this. the more and more i posted the more it was coming to me, so I guess posting was like me talking it out...

  • RE: rows into columns

    I got it working

    I did this:

    select * from

    (select id,

    max(case when value like 'make' then shortdescription else '' end) as carMake,

    max(case when value like 'model' then shortdescription else '' end)...

  • RE: rows into columns

    @jeff,

    I have it about 99.9% working, but i'm losing my date, this is what I have

    CREATE TABLE [dbo].[sales](

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

    [value] [nvarchar](50) NULL,

    [shortDescription] [nvarchar](max) NULL,

    [longdescription] [nvarchar](max) NULL,

    [datetime] [smalldatetime] NULL

    )...

  • RE: rows into columns

    how's this:

    CREATE TABLE [dbo].[sales](

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

    [value] [nvarchar](50) NULL,

    [shortDescription] [nvarchar](max) NULL,

    [longdescription] [nvarchar](max) NULL,

    [datetime] [smalldatetime] NULL

    ) ON [PRIMARY]

    INSERT INTO[dbo].[sales]

    ([value]

    ...

  • RE: rows into columns

    I can't show the table schema and what I have shown is what most of my data looks like.

    it contains 5 colums and they are all nvarchar fields, so I...

  • RE: group query output

    I got it, I had to make a query change and then I grouped everything via the code within the app.

    Though for future, could SQL give me output like...

  • RE: install SQL 05 on Windows 7

    thanks, I have to say, the security on Win 7 is brutal.

    this helped, thanks alot.

  • RE: dbmail not being sent from job

    yes

  • RE: upgrade from dev version to standard?

    thanks, I'll take a look, I just don't want to uninstall and reinstall everything on the servers. That would be a huge task

  • RE: random query question

    i'm just looking for pulling random records out (which I showed my query I'm using) and not show the same sales person twice.

  • RE: dateDiff question

    Jeff Moden (4/19/2010)


    SQL_NuB (4/19/2010)


    that is setup for the start date or end date begin on a weekend, I need to find out if the day between my two dates are...

  • RE: dateDiff question

    that is setup for the start date or end date begin on a weekend, I need to find out if the day between my two dates are a saturday or...

  • RE: dateDiff question

    I got it working, instead of where you had the 10, I put that as my column that has the defined number of days to complete and it worked fine.

    thanks...

Viewing 15 posts - 46 through 60 (of 127 total)