Viewing 15 posts - 46 through 60 (of 118 total)
If you have a primary key set on that table then a clustered index will be created .The other columns which are widely used in the queries and which are...
April 9, 2009 at 12:06 am
Use IDENT_CURRENT(Table Name) function to know the recent identity value of that table.
April 8, 2009 at 11:03 pm
In Effect , I want to do something like a backup and restore
In that case, why cant you prefer backup and restore.
In SQL 2005, is there a way that I...
April 7, 2009 at 4:38 am
because of schedule job duration is oneminute, it is not able to restore the log, i have removed the log shiping configuration
You can change the log restoration time.No need to...
April 7, 2009 at 4:30 am
Check the server properties and use mixed mode of authentication.(assuming u are connecting through sql login).
Also check the protocols are enabled or not?
April 2, 2009 at 12:07 am
There are many ways of writing this.
Here's a sample one:
declare @abc int
select @abc=max(statut) from MyTable
select top 1 * from MyTable where statut !=@abc order by...
March 26, 2009 at 3:13 am
Use sp_change_users_login 'Report'
You will get the list of orphan users in that database.
March 24, 2009 at 2:32 am
SQL Server logs will have this info...
March 22, 2009 at 10:37 pm
Moving a clustered index means your table is moved.After moving a clustered index you can see sp_help 'tablename' will show that the table is on new filegroup.No need of moving...
March 20, 2009 at 6:32 am
If the table has a clustered index the data would have been ordered .Yours is a Heap and so the data is not ordered.
when i have changed filegroup to "Primary"...
March 20, 2009 at 5:04 am
But, i am unable to see the files where the backup is stored and the logfile is created?
Backup location is by default in the installation path.You can change it to...
March 20, 2009 at 4:49 am
No,we cannot find it.
If you have a datetime column in that table and if it has getdate() as default you may track this.
Or go through "Database Snapshots"
March 20, 2009 at 3:23 am
Create a junction table having two columns(they are the primary keys in the two tables) as foreign keys to those tables.
March 20, 2009 at 12:43 am
It maybe due to:
1)You are not restoring the recent full backup.Check the date of the recent fullbackup.
2)Someone have performed a fullbackup of that database after you have done.So the next...
March 20, 2009 at 12:31 am
Viewing 15 posts - 46 through 60 (of 118 total)