Viewing 15 posts - 2,971 through 2,985 (of 6,679 total)
If you are using parameters on the procedure, there should be no need to validate the data length or data type.
For example:
CREATE PROCEDURE dbo.MyProcedure
...
October 30, 2011 at 8:14 am
Although not required - I would recommend patching to the latest patch level for each instance before installing the next. 2005 is at SP4 and you should have at...
October 28, 2011 at 12:14 pm
Here is a script I use to identify the unused space allocated to a table. I have used this to identify HEAPS that have a lot of unused space.
...
October 19, 2011 at 11:47 am
After you restart SQL Server, it will start allocating memory as needed - up to the max memory setting. Once it hits the max memory setting, it will not...
October 16, 2011 at 8:14 am
cdumont (10/14/2011)
The Maintenance job...
October 15, 2011 at 6:53 pm
AER (10/6/2011)
This is a Live database. Is it not going to affect performance?
Yes, it will affect performance because it needs to read the database and move pages around. It...
October 6, 2011 at 11:48 am
No, this will not be possible because it isn't a backup. If you had a backup - then you could perform a partial file restore, but then again -...
October 6, 2011 at 11:36 am
Here is how I would do this:
1) Create two tables for the process - an odd/even pair (MyTransformedDataOdd, MyTransformedDataEven).
2) Create 2 synonyms - one for the current data, one for...
September 15, 2011 at 2:11 pm
meghna.bhargav (9/10/2011)
September 10, 2011 at 6:46 pm
Another option is CROSS APPLY. Example:
select c.case_id
,m.description
,m.seq_num
from case_table c
cross apply (select top...
September 10, 2011 at 6:40 pm
One trick I learned a while ago is to modify SSMS to change tabs to spaces and to change the default tab size to 8 characters instead of the default...
September 4, 2011 at 9:47 am
You can turn on SQLCMD mode which will allow you to use SQLCMD syntax. The one I think you are looking for is:
:r filename
That will load the SQLCMD code...
September 3, 2011 at 8:56 am
I wouldn't call it an active/active cluster. It is really a multi-instance cluster in the Windows/SQL Server world.
To create a multi-instance cluster, you need to create separate resources for...
August 31, 2011 at 6:10 pm
The default connection settings for Oracle is explicit transactions. Which means you have to specifically issue a commit or rollback.
In SQL Server, the default is implicit transactions - which...
August 31, 2011 at 6:06 pm
webtekkie (8/31/2011)
Is is necessary to reindex every index on...
August 31, 2011 at 6:03 pm
Viewing 15 posts - 2,971 through 2,985 (of 6,679 total)