Forum Replies Created

Viewing 15 posts - 571 through 585 (of 1,346 total)

  • RE: Please Help!!!...moving MSSQL db

    Change management is one of the most difficult issues to deal with for a development dba.

    The tools do not help you maintain versions of code or table schema.

    What you should...

  • RE: Delete top 1 record??

    But what makes you want to pick the first row?

    is it because the second value is zero? the combination of the three values?

    you just want to delete the first row?...

  • RE: Delete top 1 record??

    Please elaborate on your problem

    are you trying to delete duplicates?

    does your table have a primary key?

    Please show us an example of what your table looks like,

    and what your data looks...

  • RE: Need to ADD to 2 articles to a Publication in Txnl replication

    yes

    use sp_addarticle in t-sql to add articles.

    The Agents will automatically pick up and make snapshots of only the new articles. and transfer them over.

    I believe you also have to...

  • RE: Print Dates between Min & Max Dates

    Create a date table that has all the dates you need.

    then query the table.

    Create table t_Dates (id int identity PRIMARY KEY CLUSTERED,

                                   [Date] smalldatetime NOT NULL Default('01/01/2005'))

    SELECT TOP 8000...

  • RE: Database Size?

    As suggested reading is in order.

    transaction log grows according to your recovery model

    Read selecting a recovery model

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_bkprst_4l83.asp

    The transaction log is where all transactions against your database are written down...

  • RE: Need Help in SP

    Why would you want to do this?

    Look for Dynamic sql. But you shouldn't use it if you don't understand it.

  • RE: Column(s) type for too many boolean property

    I would not recommend to implement as you have suggested.

    It is the same reason why you don't store first name last name, and middle initial in the same field.

    also what...

  • RE: Case Statement

    Declare @Site char(1)

    set @Site = '1'

    select Calldate,Project, sum(hours) as TotalHours

    from #Table1

    where (right(project,1) = '5'

           or

           site = @Site)

    group by Calldate,Project

    set @Site = '2'

    select Calldate,Project, sum(hours) as TotalHours

    from #Table1

    where (right(project,1) =...

  • RE: Avoiding transaction locks

    Look up transaction isolation levels in books online.

    You can set your transaction isolation level to read uncommited as you see necessary.

    It is a connection level property

    From BOL:

    SET TRANSACTION...

  • RE: Does anybody ever look into this forum?

    Not a biker, fishing, and golf are my interests.

  • RE: How to check that remote server is accessible

    You are going to have alot of problems trying to do this.

    Most users will not have ddladmin permissions, you cannot grant users just create view permissions.

    So the security chain will...

  • RE: Suggestions for an ad hoc query tool for a typical user

    Reporting services has absolutely no ability to do "AdHoc" querying.

    the only/best option is query analyzer .

    Access works well. But you still have to teach...

  • RE: Kill the Open Transaction.Spid is still running

    Notice how the Command is stating Killed/RollBack.

    Sql is rolling back all the transactions it had completed. Your just going to have to wait for it to finish.

    As a rule of...

  • RE: !!!!!!!!HOW DO YOU OPEN AN EXISTING DATABASE!!!!!!!

    When you saved your files, what do you mean by saved?

    My guess is you have to re attache the mdf, and ldf files.

    use enterprise manager to attach, or use sp_attach...

Viewing 15 posts - 571 through 585 (of 1,346 total)