Viewing 15 posts - 1,366 through 1,380 (of 3,011 total)
It is not completely a star vs. snowflake choice.
You could have a snowflake schema that is used to maintain the data correctly, but have a star schema based on rollups...
June 22, 2010 at 12:54 pm
This shows what is happening:
select
BeforeNoon= cast(convert(datetime,'20100622 11:59:59.997') as numeric),
AfterNoon= cast(convert(datetime,'20100622 12:00:00.000') as numeric)
Results:
BeforeNoon AfterNoon ...
June 22, 2010 at 10:26 am
No one is perfect. The most impotent thing for anyone developing code is to test your code completely to make sure it does what you expect.
June 22, 2010 at 9:56 am
select
a.COLUMN_NAME_1,
b.COLUMN_NAME_2
from
TABLE_1 a
join
TABLE_2 b
on a.TABLE_1_ID = b.TABLE_1_ID
order by
a.COLUMN_NAME_1,
b.COLUMN_NAME_2
There, was that so hard?
Good developers produce easy to read, easy to follow code. Bad developers produce unreadable, hard to follow code. ...
June 18, 2010 at 1:49 pm
Patrick Seegers (6/9/2010)
I have found storing the date as an integer to be useful as an integer surrogate key to a date dimension table with attributes you can not...
June 18, 2010 at 9:13 am
goodguy (6/17/2010)
Thank you, all for your valuable inputs.@Vladan: my experience in programming against SQLServer databases has been that nullable fields are not populated with default values.
...
They will be populated with...
June 17, 2010 at 2:43 pm
Use the DATETIME2 datatype in SQL Server 2008.
June 17, 2010 at 2:09 pm
If SQL Server is conveting a string to DATETIME, there are only 2 unambiguous formats that SQL Server will always parse correctly:
'YYYYMMDD HH:MM:SS:mmm', example: '20100617 15:46:59.997'
'YYYY-MM-DDTHH:MM:SS:mmm', example: '2010-06-17T15:46:59.997'
Any other format...
June 17, 2010 at 1:54 pm
When you negotiate, you have to make sure you're talking to someone who can actually say yes.
If they told you boss that he can't approve raises, then he doesn't have...
June 17, 2010 at 1:30 pm
It doesn’t sound like you’re getting the run-around any more, just news you didn’t want to hear.
The first rule of negotiations is to continue working towards a deal. Even...
June 17, 2010 at 1:09 pm
Transaction logs on a USB drive? That's got to be one of the worst ideas ever.
If you really have to use one, use it for your backups.
June 16, 2010 at 8:56 am
Wayne West (6/13/2010)
June 13, 2010 at 10:05 pm
Just because you enjoy something doesn’t mean you should do it for a living. Work has a way of making things not fun.
For many years, photography was my hobby....
June 4, 2010 at 9:48 am
When you have critical servers down, the importance of a DBA becomes obvious.
We have around 500+ database servers and thousands of databases spread across many locations, so hoping for the...
May 25, 2010 at 11:17 pm
PaulB-TheOneAndOnly (5/20/2010)
Sourav-657741 (5/20/2010)
So does this mean that, there is no other way that I can retrieve the password being an admin. O.k.!
That's not true. There is a Microsoft published...
May 20, 2010 at 12:33 pm
Viewing 15 posts - 1,366 through 1,380 (of 3,011 total)