Viewing 15 posts - 1,336 through 1,350 (of 1,350 total)
quote:
For stored procedures, I always include SET NOCOUNT ON as the first statement. I don't want the stored procedure to return those...
April 4, 2003 at 6:52 am
My intent was to show how you can use an array to pass the values. That it is clipped from a best practices document is more a best practices...
April 1, 2003 at 1:19 pm
Here is a section from a document I wrote on ADO best practices:
Implicit Parameters
As explained above, implicit parameters can save code. For example, rather than create two lines of...
March 31, 2003 at 12:58 pm
quote:
Both SiteServer and my user databases are using Windows Integrated security. Both have the required user set up and yet I still...
March 31, 2003 at 8:51 am
I ran your test. Here is my initial set of results:
4516 MILLISECONDS TO RUN 500 STORED PROCEDURES
5173 MILLISECONDS TO RUN 500 STORED PROCEDURES
4153 MILLISECONDS TO RUN 500 STORED PROCEDURES
5080...
March 26, 2003 at 11:21 am
quote:
Mromm, are you meaning that you do not normally like to use views for the data retrieval? Just curious as to your...
March 25, 2003 at 8:10 am
Ensure you execute the log backup command just prior to your database backup. This makes the backup as small as possible. I have also noticed that when I...
March 12, 2003 at 9:48 am
I recommend you set up a user for your SQL Server to use. During the installation, you have the choice to use local administrator or an NT user of...
March 12, 2003 at 9:30 am
quote:
A constraint is added to the column definition like this:CREATE TABLE table_name (
abc int NOT NULL
CONSTRAINT constraint_name UNIQUE CLUSTERED
)
An...
March 6, 2003 at 10:00 am
quote:
...when I tested the column for an update with a date earlier than the CHECK condition, I found that the constraint was...
March 5, 2003 at 12:59 pm
I have trouble with blanket statements such as "Stay away from public." In some, perhaps many cases, that is true. But sometimes it's not.
Public is used...
February 27, 2003 at 7:40 am
Here are a few things we do which no one has mentioned:
Regarding the id field, we use ID when its an autonumber which will be meaningless to users (eg intCallID);...
February 27, 2003 at 7:11 am
Good article. I too am amazed by how many people are willing to forgo primary keys on small tables. Data integrity always preceeds performance (esp such a slight...
August 1, 2002 at 6:34 am
I agree this is a great tool. We ran a lot of tests and simulated several disasters, all of which we recovered from. The interface is not entirely...
July 22, 2002 at 1:49 pm
Two issues on the above statement:
I would write the commit trans statement as
IF @@transcount>0 COMMIT TRANS
Also, you are returning a value of 0, which indicates no error. Use RETURN(-1)...
July 19, 2002 at 2:28 pm
Viewing 15 posts - 1,336 through 1,350 (of 1,350 total)