Forum Replies Created

Viewing 15 posts - 46 through 60 (of 118 total)

  • RE: Indexes

    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...

  • RE: T-sql how to fine inserted record id

    Use IDENT_CURRENT(Table Name) function to know the recent identity value of that table.

  • RE: Log shipping problem

    Pls post the detailed error description.

  • RE: Script out the entire database in SQL 2005

    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...

  • RE: Log shipping problem

    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...

  • RE: connection failed,check sql server registration properties

    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?

  • RE: top - 1 ROW !

    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...

  • RE: User without mapping

    Use sp_change_users_login 'Report'

    You will get the list of orphan users in that database.

  • RE: Single mode to MULTI_USER mode

    SQL Server logs will have this info...

  • RE: Secondary Data file (ndf)

    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...

  • RE: Filegroup problem!

    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"...

  • RE: Back up a Database?

    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...

  • RE: How to find how many updates done in a table ?

    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"

  • RE: Normalize the table with many-many relationship

    Create a junction table having two columns(they are the primary keys in the two tables) as foreign keys to those tables.

  • RE: Unable to restore

    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...

Viewing 15 posts - 46 through 60 (of 118 total)