Forum Replies Created

Viewing 15 posts - 3,331 through 3,345 (of 3,605 total)

  • RE: Use of Cursors

    In short, SQL Server works best with sets of data rather than at an individual record level so in most cases eliminating cursors will yield a performance boost.

    Cursors are there...

  • RE: Need to break large text field into rows

    I'm not sure if this helps because it loops through your table and your data within a stored procedure.

    
    
    CREATE PROC usp_SplitMyBigText AS

    SET NOCOUNT ON
    declare @lId...
  • RE: SQL Server Security: Fixed Database Roles

    Nice summary.

    The one thing that puzzles me is that in SQL6.5 we used the sp_addalias in order to alias users to the dbo as there wasn't a db_owner role.

    This got...

  • RE: text -> ntext causes massive size increase...

    Is it purely your text fields or have you converted varchar to nvarchar, char to nchar etc?

    If you used nchar and nvarchar then not only does the base data take...

  • RE: Backup cannot be performed on this DB

    I got caught on this one as well.

    If a database is in "simple" recovery mode then the transaction log backup portion of the maintenance plan will fail.

    Coming from SQL 6.5...

  • RE: add new user with rights using TSQL

    Assuming that you have set up your logins set up then to add them into the database you would use:

    exec sp_grantdbaccess 'the login','the username in the db'

    exec sp_addrolemember 'db_datareader','the username...

  • RE: Stored procedure help needed.

    When I was doing Access/SQL work I set up a passthrough query to SQL that ran my record aggregate stored procedure.

    I then set up a cross-tab query that used the...

  • RE: Is Windows 2003 Really Faster?

    Are there any updates on this?

    The article left off where you were about to upgrade an IIS/SQL box. Has this been done yet and what were the results?

    He was...

  • RE: Make Sql server as secure as possible

    We tend to keep our IIS Servers on separate boxes to SQL Server.

    We remove PUBLIC permissions to virtually all the stored procedures in the MASTER database because by default any...

  • RE: QOD 11/25

    I wouldn't have put it at 3 points and yes and extent was/is 8 contigious pages in SQL.

    When I moved from SQL6.5 through 7 to 2000 I must admit that...

  • RE: OT: Sybase Equivelant to MS SQL TOP?

    You have to do

    SET ROWOCOUNT 5

    SELECT ...etc

    Primitive

    There is a hell of a lot that Sybase doesn't seem to do. DBCC SHOWCONTIG, DBCC DBREINDEX etc.

    I've been trying to find out...

  • RE: QOD 11/25

    I got it wrong because I assumed that an extent was still 2K as it was in SQL 6.5. Yee Gods I hate it when a unit of measure...

  • RE: Adversarial Vendors

    Documentation is key if the supplier goes back on an agreement.

    I had a situation where a product contains faults that need to be fixed. In my case it was...

  • RE: Should DBAs attend Development Meetings

    I am just completing a 3 week task rescuing a bad database design on a poor performing application.

    This has cost a 6 figure sum in terms of man power and...

  • RE: QOD 11/20

    quote:


    Drop the primary key clustered index and create a new one on LAST_ORDER_DT


    This...

Viewing 15 posts - 3,331 through 3,345 (of 3,605 total)