Viewing 15 posts - 946 through 960 (of 1,413 total)
Then of course those two columns should be the primary key. I guess you have confused primary keys with surrogate keys.
April 19, 2005 at 2:22 am
I'll add my .02 as well (soon we'll have that 1). I fully agree with Frank and Kenneth. Using a clustered index with a correctly designed table more or less...
April 19, 2005 at 2:17 am
Just use a very long string for varchar(max). For instance:
DECLARE @foo VARCHAR(MAX)
SET @foo = REPLICATE('foo', 10000)
UPDATE dbo.foobar
SET varchar_max_column = @foo
> I have Yukon - Beta3 installed on my machine.
There is...
April 19, 2005 at 2:06 am
See my article Moving system databases - a checklist, which describes exactly how to do this.
April 19, 2005 at 12:56 am
Every table should always have a primary key. If it does not it is not even a relational table, which defeats the whole purpose of using an RDBMS for managing...
April 19, 2005 at 12:50 am
Sounds like a line from The Incredibles or something.
But it's true, the only stupid questions are those that are not asked.
April 18, 2005 at 12:13 pm
I would say it depends extremely depending on the level of the candidate and the specific position they are applying for. For a development-ish position I like to let a...
April 18, 2005 at 12:11 pm
Something like this?
SELECT Company, SUM([Pieces of Equipment])
FROM ...
GROUP BY Company
April 18, 2005 at 8:36 am
If they are named according to the standards expected by Enterprise Manager, then you can view a description in EM. Right click the table, Design Table. The field description contains...
April 18, 2005 at 8:27 am
And it works with VS2005 Beta 2 as well! Oh the joy!
April 18, 2005 at 8:18 am
Before you can edit anything using Management Studio you must first choose which server to connect to. You either connect to a SQL Server 2000 instance or a SQL Server...
April 18, 2005 at 8:15 am
SQL Server 2000 and 2005 does not play very well together yet. Since 2005 is in beta you should install it in a separate testing environment, for instance a virtual...
April 18, 2005 at 8:13 am
Why are you using TOP 100 PERCENT and ORDER BY LastModifiedDate in the view?? That means that the entire table must first be sorted on LastModifiedDate for the view to...
April 18, 2005 at 6:57 am
If you could post some DDL that would probably make it easier to look at this.
April 18, 2005 at 6:18 am
Are the column(s) you are ordering by indexed?
April 18, 2005 at 5:12 am
Viewing 15 posts - 946 through 960 (of 1,413 total)