Forum Replies Created

Viewing 15 posts - 301 through 315 (of 1,062 total)

  • RE: I got burned today at a SQL Server Interview!

    Exotic food - Yummmmmm.

    Fried Alligator tails

    Fried Conch

    Fried Rattlesnake

    Raw Rattlesnake

    Elk

    Moose

    Bear

    Raw Sea Urchin

    Camel

    Reindeer

    Pigeon

    Horse

    Eel

    Fried Octopus

    Fried Squid

    Grilled Squid

    (note on Octopus and Squid - if you really want to have fun, stick the tentacles to...

  • RE: WWYD

    When my son caught chicken pox, the day care called me to pick him up at 11:00am. At 1:30pm my manager called me at home and asked me when...

  • RE: WWYD

    Once I received a phone call from the former CEO of my company (he retired and moved to another state but remained as a consultant of my company) on Friday...

  • RE: SELECT certain number of rows

    Matt,

    My query is not involved one table, it joins 4 or 5 tables, so how am I going to put a cluster index?

  • RE: SELECT certain number of rows

    So Jeff, what do you think which solution is the better solution and do you have a better one yourself?

    You are right, the problem with using ROW_NUMBER slows everything down.

  • RE: how to design

    What are you trying to design anyway? a database model, a data flow diagram, a business model ?

  • RE: Designing a fact table

    Data warehouse is different concept for regular transaction database, unfortunately not many companies or people realized that. In most cases, many companies just put a sql developer to build...

  • RE: Designing a fact table

    Since you already have a DateID in the fact table, you don't put last month's data in the current month fact table.

    So the fact table should look liked

    ID

    PRODID

    DATEID

    DISTID

    TotalSales

    If you want...

  • RE: Designing a fact table

    fctMonthRunning looks like:

    ID

    PRODID

    DATEID

    DISTID

    CurrentMonth

    CurrentMonth-1

    CurrentMonth-2

    CurrentMonth-3

    CurrentMonth-4

    CurrentMonth-5

    CurrentMonth-6

    CurrentMonth-7

    CurrentMonth-8

    CurrentMonth-9

    CurrentMonth-10

    CurrentMonth-11

    What does CureentMonth1.....CurrentMonth-11 mean ?

    What is the DateID in the fact table doing? What does it represent?

  • RE: Need to return query result in 0.02 sec

    If the shopper database is small, it has no problem, but if there are more than 2 million shoppers, right now they put it in LDAP database because when it...

  • RE: Need to return query result in 0.02 sec

    The system is already existed but my company tries to re-write it. The reason is the existing system cannot handle more than 5 million shoppers.

    The system is a basically...

  • RE: Need to return query result in 0.02 sec

    The current shopper table was developed by the web developers so it was terrible, no foreign key to other tables that used shopper id.

    Here is the old shopper table.

    CREATE TABLE...

  • RE: I got burned today at a SQL Server Interview!

    I keep learning. But the more I know, the more I know I do not know. What is the logic!

    I totally agree to that. Besides the technology changes so...

  • RE: I got burned today at a SQL Server Interview!

    Yes Jeff is very knowledgeable about SQL server and he yelled at me a lot too.:)

    Mark

    I just went through a whole bunch of interviews to look for a job. ...

  • RE: "And" queries?

    BTW, if you have enterprise edition, you should have reporting service. It is a reporting tool.

Viewing 15 posts - 301 through 315 (of 1,062 total)