Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)

  • RE: Filestream data

    This was one of the SQL Server questions in the MS Exams when I wrote it few years ago 🙂

  • RE: Relational Model versus XML

    This was a fun guessing question 😀

    I first wanted to say XML, because it is like the odd one out and the books online usually use universities in their XML...

  • RE: Table variables

    So is someone going to ask tomorrow if we can use temp tables in UDFs? 😛

  • RE: Which Statement will execute sucessfully

    It should be added to the explanation that when you create a table without specifying the schema name, it uses the default schema for the database (which is most probably...

  • RE: Halloween Protection

    vk-kirov (10/31/2012)


    craig 81366 (10/31/2012)


    GilaMonster (10/31/2012)


    You can't insert or delete a row multiple times

    I beg to differ

    ...

    that spool is essential to protecting against deleting more rows than expected

    "Delete a row multiple...

  • RE: SQl Joins

    Jason-299789 (10/29/2012)


    Actually your table design is not quite right.

    I would set it up as

    Create Table WorkPlace

    (

    WorkPlaceCode (PK)

    ,WRegn

    ,WorkplaceName

    ,NumberOfEmployees

    ,Address_Id

    )

    CREATE Table Employee

    (

    EmpNum (PK)

    ,EmpName

    ,WorkPlaceCode (FK)

    )

    CREATE Table Address

    (

    Address_Id (PK)

    ,Address1

    ,Address2

    .....

    )

    This way you assign...

  • RE: Help with slow query

    This is probably not helping to solve your problem with performance in mind, but WHY do you use BIGINTs as IDs on ALL your tables? I mean you have...

Viewing 7 posts - 16 through 22 (of 22 total)