Viewing 15 posts - 3,061 through 3,075 (of 3,615 total)
CREATE TABLE Code (
CodeID int IDENTITY(1,1)
, CodeType int
, Description varchar(255))
ALTER TABLE Code ADD CONSTRAINT PK_Code PRIMARY KEY (CodeID, CodeType)
I would put CodeID as the PRIMARY KEY and...
September 8, 2004 at 2:48 am
OK here is a provocative comment.
IT outsourcing is the fault of the existing IT departments. Failure to communicate and integrate with their businesses has lead to them being viewed as...
September 6, 2004 at 5:41 am
My big beef about outsourcing is that there is a huge separation between the people requesting the system and the people delivering the system.
If you work within a company then...
September 6, 2004 at 2:35 am
I got quite enthusiastic about the ability to append group procs together, until I realised you can't explicitly drop a particular proc in a group.
September 6, 2004 at 2:21 am
Are you querying the SQL2K box from the SQL7 box or vice verse?
You will either have to add the the SQL7 box to the SQL2K box as a linked server...
September 3, 2004 at 2:53 pm
I prefer to have the different functions in separate stored procedures so that it is immediately obvious to the programmer what the procedure is supposed to do.
usp_GetContacts = SELECT
usp_SetContacts =...
September 3, 2004 at 2:43 pm
LIMIT is a bit more specialised than the nearest SQL equivalent which is the TOP predicate
SELECT TOP 20 C.Firstname, C.Surname
FROM Customers AS C
ORDER BY C.FirstName
There is also SET ROWCOUNT that...
September 3, 2004 at 2:36 pm
I would add that in the UK salary rates are still down on what they were 4 years ago.
Outsourcing is more of a risk in the UK. I put this...
September 3, 2004 at 1:32 pm
Have you tried stepping through the stored procedure in SQL query analyser?
Right click on the offending procedure within the Object Browser and you will see "Debug" at the bottom of...
September 2, 2004 at 1:46 am
How do you mean Steve?
Take it down in 10Mb increments?
September 2, 2004 at 1:39 am
I would tend to keep date and time together. If you can get away with a SMALLDATETIME field then do so.
If you do decide to store date and time separate...
September 2, 2004 at 1:37 am
MySQL is a database that is very good at pumping out information at a very fast rate of knots especially for web-site deployment.
I have some concerns with its ability to...
August 29, 2004 at 4:41 pm
I have the same situation as you with a staging database for CMS publication and a live database for CMS presentation.
I set up transactional push replication.
Firstly, I only want one...
August 13, 2004 at 1:50 am
If your production and development DBs are on the same box then simply restore the last production backup over the top of the development DB.
If you want to delete a...
August 13, 2004 at 1:28 am
I haven't got my head around the full ADO.NET feature set yet but from what I have seen .NET provides a great deal of freedom to get away with bad...
August 10, 2004 at 12:37 pm
Viewing 15 posts - 3,061 through 3,075 (of 3,615 total)