Viewing 15 posts - 1 through 15 (of 45 total)
I don't think it overwrites.
select case when 1=0 then 8 else sum(-10+1) end
from Master.dbo.spt_values
where 1=0
select case when 1=0 then 8 else abs(-10+1) end
from Master.dbo.spt_values
where 1=0
When aggregate it does not look...
January 18, 2013 at 2:49 am
VB was originally meant to be a hobbiest language and as such attracted a lot of people who simply did it as a hobby. Because of all of this a...
November 13, 2009 at 8:17 am
wiring up events is far more simple in C# than VB.NET
Really?
In VB it is a double-click....
November 13, 2009 at 7:43 am
With C#, it almost forces you to write good code.
Almost?
And what is a good programmer?
I think an object oriented programmer is a better programmer, regardless of language.
Even in COBOL.NET....
November 13, 2009 at 7:32 am
I find VB.NET better.
1. In a non-american keyboard it is easier to code faster since the curly brackets needs awkward keybard combination, AltGr + 7/0.
2. Case constructs is better:
...
November 13, 2009 at 4:52 am
Identity is evil.
Using identity as PK is bad.
Having a table like this:
CREATE TABLE Countries
(CountryID INT IDENTITY PRIMARY KEY,
CountryName VARCHAR(50) NOT NULL)
If I were Joe Celko I would...
February 27, 2008 at 4:28 am
The basic idea is to store all humans in one and only one place.
And all companies in one and only one place.
Thus Employees, Customers, etc gets stored in a Person...
February 13, 2008 at 7:36 am
You can't.
What you can do is a check constraint using a user defined function checking the existence of the "parent row" via a distributed query.
February 13, 2008 at 4:23 am
forgot:
Use the correct datatype: varchar(max), xml etx
In SQL 2008 there will probably be a datatype of type file.
/m
January 22, 2008 at 4:42 am
I would store the document in the database.
I would put the table in question on its own filgroup.
The disadvantages for storing only the link to the document in the filesystem:
January 22, 2008 at 4:40 am
I would scrap the generic table altogether.
Given a table called ShowReviews there would be a table called Shows.
In the table Shows I would have a column like ShowReviewId.
Which would be...
January 21, 2008 at 7:45 am
I think every table should contain facts from the reality that we keep data abot.
Review is not exact since it can be a Review of anything, a play, a car,...
January 21, 2008 at 4:03 am
We have only outsorced the running of the servers including backups etc.
The productionDBA jobs, tuning etc, are still done by us.
So what do do besides "add logins to the sysadmin...
October 10, 2007 at 5:21 am
This works:
1. sql2005server ---> sql2005server (windows domain account)
2. sql2005server ---> sql2000server on local machine (windows domain account)
3. sql2005server ---> sql2000server (local sql account on 2000server)
This doesnt work:
4. sql2005server ---> sql2000server...
July 13, 2007 at 4:46 am
Viewing 15 posts - 1 through 15 (of 45 total)