Viewing 15 posts - 751 through 765 (of 1,065 total)
Obviously there will be some sort of hit, but if things are indexed properly, the hit will be small.
If you add a child record, SQL server has to make sure...
July 17, 2008 at 4:58 am
ISQL/W is actually Query Analyzer.
ISQL is the earlier command line interface for doing the same thing as Query Analyser (i.e running queries and getting back results)
July 17, 2008 at 4:53 am
Try this (note, credit to Gert Drapers - it was his script initially)
declare @dir nvarchar(4000)
exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE',N'Software\Microsoft\MSSQLServer\MSSQLServer',N'SQLArg1', @dir output, 'no_output'
if @dir is null
begin
...
July 16, 2008 at 8:38 am
I have a table with 4 indexes on it: 1 is the Primary Key and therefore clustered.
The primary key doesn't have to be clustered, and in many cases that's...
July 16, 2008 at 7:12 am
RESTORE [font="Comic Sans MS"]HEADERONLY[/font] FROM DISK='C:\MyDisk\MyDBLogBackup.dmp'
July 16, 2008 at 6:27 am
Natural keys have one big disadvantage... they can change.
If your natural key to identify a person is the National Insurance No (UK equivalent of the Social Security Number in the...
July 16, 2008 at 6:18 am
Check BOL... it tells you that CREATE SCHEMA must be run in its own batch.
Therefore you aren't going to be able to put any other statements (e.g. if exists...) in...
July 16, 2008 at 2:15 am
Or add an "image" filegorup, put the data in
That's the bit I'm worried about... moving the data to the new filegroup.
It took 2 weeks in development with no users...
July 16, 2008 at 1:59 am
It sounds as though your REXX/SQLConnect is automatically starting a transaction. If you can't stop it from doing this, try adding this to the beginning of your stored procedure
if @@trancount...
July 15, 2008 at 8:26 am
DO you have the different types of Isolation Levels in SQL 2 K like 2005 ?
You don't have snapshot isolation in SQL 2000, but you do have "READ UNCOMMITTED".
That...
July 15, 2008 at 2:43 am
Still not ideal, but you could save yourself a bit of scripting...
Assuming you have a test copy of the database, do the change using Enterprise Manager, and capture the queries...
July 10, 2008 at 3:43 am
The script below will list all the full backups restored:-
select physical_device_name
from msdb.dbo.backupset b
inner join msdb.dbo.restorehistory r
...
July 9, 2008 at 4:26 am
The last one probably timed out because it took longer than the others to back up.
You will need to specify an infinite timeout (0) when you connect to the server,...
July 9, 2008 at 3:12 am
A few thoughts:-
Performance aside, does the tenant_id need to be part of the primary key?
Should I use custom generated sequence for each customer instead of the IDENTITY column.
You might have...
July 7, 2008 at 6:10 am
Are you sure it isn't already installed?
Have a look in the services applet and see if you can find a service called "SQL Server Browser".
July 7, 2008 at 1:53 am
Viewing 15 posts - 751 through 765 (of 1,065 total)