Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 2,452 total)

  • RE: Pivoting the table

    ashwinrao.k23 (8/10/2012)


    thanks for the Reply!

    If i use Aggregate functions then its eating some of my data fileds. For MAX its giving only maximim valuse of available filds..

    hmm...just a thought, but...

  • RE: Pivoting the table

    ashwinrao.k23 (8/10/2012)


    thanks for the Reply!

    If i use Aggregate functions then its eating some of my data fileds. For MAX its giving only maximim valuse of available filds..

    not quite sure what...

  • RE: Pivoting the table

    ashwinrao.k23 (8/10/2012)


    Yes, I have only two group of values "A" and "B" need to be pivoted

    ok...in which case the solution from rVadim will work for you.

    for more info, suggest you...

  • RE: Pivoting the table

    Hi

    will you only "ever" have columns A and B to pivot on?

  • RE: Pivot Tables

    whats supposed to happen if you have these records?

    INSERT INTO #Site (site_id, location_id, [description])

    VALUES ('06', '18a4', '18a4'),

    ('06', '18a5', '18a5'),

    ...

  • RE: Inserting data in one table as selecting from other tables

    priest Ivan Delic (8/10/2012)


    Thanks for the quick answer.

    I simply want to copy my data from table2, table3 to table1.

    I have about 25,000 records.

    Fr. Ivan Delic

    what are tables 1,2,3?

    what are the...

  • RE: Precedence of operator in SQL

    SELECT(2 + 3) * 4;

    SELECT 2 + (3 * 4);

    SELECT 2 + 3 * 4;

  • RE: Getting the distinct Rows/row group based on the condition

    at this juncture, it may be prudent to provide some further sample detail to fully describe the

    possible permutations of the millions of records you have.

  • RE: Anything out there better than SSRS

    GSquared (8/8/2012)


    If execs are looking for ad hoc reporting tools, it's hard to go wrong with pivot tables. PowerPivot and Excel have been mentioned already. I haven't used...

  • RE: Anything out there better than SSRS

    Luis Cazares (8/8/2012)


    I used it on few projects, mostly for demos.

    It's easy to learn and has a simple GUI.

    Scripting is very similar to T-SQL and can be protected to prevent...

  • RE: Anything out there better than SSRS

    Luis Cazares (8/7/2012)


    I'm not sure if there's a conflict of interests by posting the following but...

    If you're looking for a nice tool that can be easy for the execs to...

  • RE: How to order by month which is varchar field according to date format?

    USE [tempdb]

    GO

    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[testmonths]') AND type in (N'U'))

    DROP TABLE [dbo].[testmonths]

    GO

    CREATE TABLE [dbo].[testmonths](

    [testMonth] [varchar](50) NULL

    ) ON [PRIMARY]

    GO

    INSERT INTO [dbo].[testmonths]([testMonth])

    SELECT N'May-11' UNION ALL

    SELECT N'May-12'...

  • RE: Urgent help please !!

    what are the are datatypes of dbo.BVActions.orderedTime and dbo.BVActions.ScheduledTime

  • RE: How to display current week as 0 for each year

    as an idea....is this anywhere close to what you are looking for?

    SELECT MERCHANDISING_WEEK_START_DATE ,

    DATEPART( WEEK , MERCHANDISING_WEEK_START_DATE ) - DATEPART( WEEK ,...

  • RE: View Help

    asm1212 (8/6/2012)


    ...Im selecting about 50+ more columns than what I specified and therefore you have to group by all 50+ columns...

    no offence...but 50 levels of grouping seems a lot...are you...

Viewing 15 posts - 1,816 through 1,830 (of 2,452 total)