Viewing 15 posts - 1,036 through 1,050 (of 1,315 total)
If you have a maintenance window, the optimization maintenance plan is the simplest way to manage fragmentation. It may be overkill, but it is the easiest to set up. Downsides...
September 21, 2005 at 6:59 am
"Where can I learn about dependencies?"
Create a database diagram and add the tables in question. There is an option to add related tables. Select all the tables and use "Add...
September 21, 2005 at 6:36 am
If the duplicate rows can be ignored, you could replace your primary key with a unique index with the IGNORE_DUP_KEY attribute (and same clustering as existing primary key).
If you need...
September 21, 2005 at 6:22 am
Char vs varchar - There is more to it than just the extra 4 bytes of overhead for each varchar, fixed-length fields can be handled more efficiently than variable-length. Especially...
September 20, 2005 at 4:14 pm
Assuming your two big tables are being joined by an integer key, you could try something like this:
declare @n1 int, @n2 int
select @n1 = min(pk), @n2 = max(pk) from bigtable1
while @n1...
September 20, 2005 at 9:39 am
You can rarely get away with saying "No can do" to an external client. You can try to tell them the data cleaning will make the schedule slip and cost...
September 20, 2005 at 9:16 am
By "indexes are analyzed with a 13% sampling rate" I assume you mean updating statistics. The only thing you can say for sure is that doing this during a heavy...
September 19, 2005 at 2:40 pm
Re-read the question. The trans log backups are hourly at 15 minutes after the hour, so the 12:15PM log backup is needed to cover the 11:15AM - 11:55AM range. The...
September 19, 2005 at 1:18 pm
The answer said to use "from device" to load the backup history with the details for all the log files. There is a missing step in the description, but it...
September 16, 2005 at 9:10 am
If you have SELECT permissions for the function, it must be a table-valued function. Then the correct syntax would be:
SELECT * FROM ::dbo.fn_GetClosestZip(98052)
September 15, 2005 at 10:27 am
I don't think you can get at extended (like column descriptions) directly through the object model. You'll have to execute queries to find them.
See "Using Extended Properties on Database Objects"...
September 15, 2005 at 10:02 am
If you zipped the file using Winzip's proprietary maximum compression, you can't even open it on a Windows computer except with Winzip. I would check for that first. After eliminating other likely explantions,...
September 15, 2005 at 9:53 am
Comparing the cost of alternative solutions is not the same as saying you can't imagine how an alternative solution could possibly work. And how you get the idea that Jo's...
September 14, 2005 at 3:07 pm
There is no easy way to tell SQL Server to go off and execute commands in an arbitrary file, and probably for good reasons from a security perspective.
Find the person(s)...
September 14, 2005 at 2:04 pm
I can't imagine why anyone capable of coming up with your overengineered, impenetrable solution couldn't figure out how to use a simpler solution. The Candidate_Evaluation table in my solution could...
September 14, 2005 at 1:21 pm
Viewing 15 posts - 1,036 through 1,050 (of 1,315 total)