Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 2,010 total)

  • RE: Design pitfall?? Having primary key composed of foriegn keys?

    Like Michael said, the only time I use an additional int PK is in times when I'd need to store a multi column PK in another table as a FK...

  • RE: Multi-column primary keys

    To jump on the Non SSN PK bandwagon....

    While I don't have the specific reference, (I think the Privacy Act of 1974 had some provisions for it) but it's my understanding...

  • RE: Considerations for RAM

    You'll need to provide quite a bit more than what you've done so far for us to even be able to guess...

    How big is your database, what type, OLTP or...

  • RE: Design pitfall?? Having primary key composed of foriegn keys?

    It sounds like you are creating a join table to break up a many to many join. the best example of this I can think of would be from...

  • RE: SSRS reports

    Additionally, many anti virus programs have started blocking numerous ports by default, one of which is 25 (smtp mail port). Check and make sure that you can get to...

  • RE: SSRS reports

    sounds like you don't have the mail services setup correctly, either that or it's pointed at an SMTP server that is currently down and/or unreachable.

    -Luke.

  • RE: Simple JOIN query

    yeah, it's lovely when MS doesn't even follow it's own rules when it comes to reserved words. I currently work with a db where some brain trust added the...

  • RE: GROUP BY, then COMPUTE

    Thanks Jeff, I know you explained the logic to add the Sum bit for the total line, but I didn't have time to identify which one of your articles it...

  • RE: GROUP BY, then COMPUTE

    Are you looking for something like this?

    --create test table

    CREATE TABLE #test (

    id INT,

    amount MONEY)

    --insert sample data

    INSERT INTO [#test]

    SELECT 1,10.00

    UNION ALL

    SELECT 1,20.00

    UNION ALL

    SELECT 2,10.00

    SELECT ID, SUM(Amount) AS Amount

    FROM [#test]

    GROUP BY...

  • RE: Simple JOIN query

    have you tried it as st.[group] ?

    group is a keyword so you probably need to enclose it in brackets.

  • RE: Join syntax

    Yup that's the gist of it, basically they are doing a right outer join to a derived table/view of the 2nd two tables. I typically find it's easier and...

  • RE: Query with Single Joins Repeats Same Record

    I hate to state the obvious here, but since you say you get the same number of results even without the joins, it would seem that when you imported your...

  • RE: how to devied fullname into firstname and lastname

    That's absolutely true however given the situation and more importantly the sample data, the only real solution is run the script hoping to catch most of the names followed by...

  • RE: how to devied fullname into firstname and lastname

    If you'd like something that's set based and will most likely perform a bit better than looking at each individual character give the following a shot... Like the above...

Viewing 15 posts - 1,261 through 1,275 (of 2,010 total)