Viewing 15 posts - 1 through 15 (of 22 total)
I hear what you are saying about the objects, but for every database created there are 52 system objects added does this not create more overhead?
January 14, 2005 at 7:02 am
I am not going to try to consolidate existing databases but I don't want to end with with 200 databases in a year or two.
January 13, 2005 at 11:40 am
I would use a case statement in your SP.
SELECT ID, TITLE FROM MyTable
WHERE
Closed_Date
CASE @Open
WHEN 0 THEN
Is Null
ELSE
IS NOT NULL
December 21, 2004 at 7:15 am
In addition you must use the alter statement. You cannot just simply add the code into an existing SP. So everytime you need to update that SP you have to...
September 30, 2004 at 3:58 pm
You should only need two tables a job_description table (i.e. Engineer, programmer, tester, etc) and an employees table that stores the foreign key from the job_description table.
Edward M. Sokolove
December 30, 2003 at 11:45 am
We use this method to get a datadictionary and it's free. First you enter the text into each description field then run this stored procedure for every table.
CREATE PROCEDURE...
December 18, 2003 at 8:51 am
We developed a method that searches each web page and it looks for a certain keyword in the page. Then it finds all the stored procedures for the web...
November 12, 2003 at 9:20 am
All you would have to do is modify this stored procedure a bit to add columns (pass in a variable, etc. without using a cursor. I was just giving...
November 10, 2003 at 3:55 pm
Here's how to delete all duplicates and leaving one in the table without reinserting the record.
*********************************************
Table Used in this example
*****************************************
CREATE TABLE [dbo].[Table2] (
[TID] [int] IDENTITY (1, 1) NOT NULL ,
[FName]...
November 10, 2003 at 3:40 pm
I run a subscription based web site. Basically I build the front-end and back-end components, and the user rents or subscribes to the application and the fee would be...
November 10, 2003 at 3:02 pm
You can run this in a job if you want. It will go through a table and delete all duplicate names. If you need to delete something else...
November 10, 2003 at 2:48 pm
Here's how you do it in SQL Server. First populate your description field in the table design. Then use this stored procedure to retrieve a recordset of the...
November 10, 2003 at 2:42 pm
Here's a way to do it without a cursor or temptable and no joins, you still have the issue of the varchar(8000). Just another thought.
DECLARE @I INT
DECLARE @MaxCount INT
SET...
October 2, 2003 at 11:50 am
Here's a solution I believe I found on this forum. This one checks for other common errors that people make when entering an email address.
--update tblevent set unclassifiedemail =...
December 30, 2002 at 3:39 pm
That is a problem if you add servers frequently this is not the way to go, but if you have set servers (Devel, Test, Production) then this would work. ...
December 16, 2002 at 8:50 am
Viewing 15 posts - 1 through 15 (of 22 total)