Forum Replies Created

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

  • RE: Sequential YYYYMM calc problem

    Digs (1/6/2013)


    First the code...

    PS: I dont have a Calender table with YYYYMM, unles you know where I can get one ?

    Any ideas

    plenty of calendar scripts available if you search...heres a...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Sequential YYYYMM calc problem

    select CONVERT(CHAR(6), getdate(), 112)

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Designing Complex Query

    shohelr2003 (1/6/2013)


    Dear,

    I have a table Student(Section, Roll, Subjects, Marks). Now I want to display the results like the following. That means the result will show section and Roll wise Subjects,...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Compare one row with another in a Table !

    untested...

    ;with cte as

    (

    SELECT House_acc

    FROM yourtable

    GROUP BY House_acc

    HAVING (COUNT(DISTINCT repcode) > 1)

    )

    SELECT A.House_acc ,

    A.AccountId ,

    ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Compare one row with another in a Table !

    nitin_456 (1/5/2013)


    Hi ,

    House_AccAccountidrepcode

    123 1 J978A

    123 ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Urgent normalisation help please!

    msanchez7 (1/5/2013)


    Yeah that's right, I've been trying to figure it out for the past month and I got stressed! That's why I need help 🙂

    ok...seems you are new to all...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Urgent normalisation help please!

    msanchez7 (1/5/2013)


    I just wrote the data As an example. Do you mean staff no: etc...?

    appreciate this is in "Design Ideas and Qs"...but have you created any SQL tables yet?

    ...or we...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Urgent normalisation help please!

    msanchez7 (1/5/2013)


    I am so confused I have to normalise these form 1 and 2 together, 2 and 4 together and the rest separately into 3nf. Can somebody help. On the...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Need help using the most efficient aggregation method in SQL Server 2008 R2 to sum up child rows in same table

    steve.pantazis (1/4/2013)


    I need to find a way to do an INSERT into the same table (named ResultsHistory) by summing up the child row totals without using a CURSOR in MSSQL....

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Need help using the most efficient aggregation method in SQL Server 2008 R2 to sum up child rows in same table

    personally I would not try to insert records into your table.

    see if this gets anywhere close to what you require....could well be improved I expect.

    declare @TP as INT

    set @TP =...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Date Range or last 6 months of data

    opc.three (1/2/2013)


    Your request could be taken multiple ways, I think. If you have a moment to spare please post a table definition (CREATE TABLE statement), some sample data (INSERT statements),...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: New in this world.. no experience and no knowledge

    fabri8989 (12/28/2012)


    Hi guys 🙂 ..... My boss has told me to learn sql server 2008, but i haven't knowledge and no experience in this field

    A question for you...why has...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Number weeks of work

    cms9651 (12/24/2012)


    thank you for reply.

    one of five people have to work a full week, while others are off.

    everyone has to work the same number of weeks for year.

    know what I...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to create a Connection Manager to access directly to a PROGRESS DB

    I connect to a progress database (10.1c version)

    We installed the odbc driver and connect to Progress via SSIS to import data into SQL

    this is how I use it in...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Help with a query to find atleast

    one method to get you started......others may chime in with alternatives.

    please note how I created the set up scripts....makes it so much easier for everyone else to help you....I hope...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

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