Forum Replies Created

Viewing 15 posts - 1,741 through 1,755 (of 15,381 total)

  • RE: Crazy CASE statement causing major churn on WorkTable

    MyDoggieJessie (2/25/2016)


    You'll immediately see the problem query in the original execution plan doing the 1.14 billion rows between the Table Spool and the Nested Loop

    Think you forgot to attach the...

  • RE: Help with Row Number

    TSQL Tryer (2/25/2016)


    To create the table -

    /****** Object: Table [dbo].[test] Script Date: 25/02/2016 16:01:36 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    CREATE TABLE [dbo].[test](

    [CalendarPeriodId] [int] NOT NULL,

    [CalendarId] [int]...

  • RE: How to deploy SSIS package on AWS RDS?

    Vallu (2/25/2016)


    Sorry again but I'm able find "Integration services" and "BI" as categories and both were contains queries on SSIS. I was just trying to get a response to my...

  • RE: Crazy CASE statement causing major churn on WorkTable

    This would be a lot better if your sample data was readily consumable (insert statement). Also, the actual execution plan as a file instead of a screen shot would be...

  • RE: CHECKING specific values

    Sergiy (2/24/2016)


    patrickmcginnis59 10839 (2/24/2016)I got 2 rows if I set xact_abort on, maybe that's his default?

    Yep, spot on.

    Isn't it anyone's default?

    Same as ANSI_NULLS?

    I don't change either of those typically. Of...

  • RE: table design

    hlsc1983 (2/24/2016)


    k... i will design the database as per the suggestions here and get back soon for more feedback. do i have to start a new thread or stick to...

  • RE: table design

    hlsc1983 (2/24/2016)


    i meant to write like this: exam_year int,

    The reason why i am using exam_year is because the marksheet that the system must finally print reads something like this:...

  • RE: table design

    hlsc1983 (2/24/2016)


    k regarding foreign keys, i have understood it this way. correct my mistakes.

    Subjects table, Students table and Gradetype table will have one to many relationship with Marks table.

    Sort of....

  • RE: table design

    hlsc1983 (2/24/2016)


    k if i insert a gradetypeID column in the table, that means there will be four rows in the table if the subject has all four possible grade types....

  • RE: table design

    hlsc1983 (2/24/2016)


    i am not a student . i work in the examination cell and i have been trying to develop an application that will replace the current system.

    regarding...

  • RE: table design

    hlsc1983 (2/24/2016)


    Odd means odd semester- I,III, and V semesters

    Even means even semester- II, IV and VI semesters.

    Regular papers means student appears it for the first time.

    Compartmental means the student has...

  • RE: Creating a percentage of total column

    jakebeliveau (2/24/2016)


    tindog (2/24/2016)


    Are you after something like this:

    SELECT NT_ID,

    100 * Frequency / (SUM(Frequency) OVER ()) PercentageOfTotal

    FROM ........

    ETA:...

  • RE: table design

    hlsc1983 (2/24/2016)


    so like this?

    Master_marks table with the following columns:

    student_id int,

    subject_id int,

    marks int,

    odd_even bit,

    reg_comp bit,

    exam_year int, '( year is associated with the year of examination and not student)'

    gradeID int,

    and...

Viewing 15 posts - 1,741 through 1,755 (of 15,381 total)