Forum Replies Created

Viewing 15 posts - 91 through 105 (of 152 total)

  • RE: Problematic error messages - Diskkeeper and SQL Server

    You know, if I had control over Diskkeeper and the other aspects of the server, this would be easier.  I will check with the network/hardware folk, and see how they...

  • RE: scope_identity

    It sounds as if the actual generation of the Identity is not in the scope of the call to SQL Server.  For example (since I know nothing of the structure...

  • RE: How to delete all but 1?

    This assumes that the combination of ID values is unique -- specifically, that the roleModule_ID field is a unique identifier of some sort for the table.

    DELETE
    FROM RoleModule
    Where Role_ID...

  • RE: Questions to ask a possible DBA

    With apologies to Nancy White

     

    In Dilbertlandia, Everyone's a bozo

            Nobody's got a brain  (oooh!  oooh!)

  • RE: Questions to ask a possible DBA

    Personally, If you have to ask for questions to ask then you really need to sit down and think what are you hiring this person to do and build your...

  • RE: Questions to ask a possible DBA

    Well, currently I am the working DBA for the system, and all my knowledge sort of 'accreted' to me on an as-needed basis, from web sites, BOL, and trial and...

  • RE: Questions to ask a possible DBA

    Good point.  We are looking for both, of course.  Management specs are for a Production DBA with Development skills, especially in...

  • RE: Stored Procedure - variable assignments- Help !

    When returning variables from dynamic SQL, it is easier and cleaner to use the sp_executeSQL stored proc. 

    Declare @mySQL nvarchar(500)

    Declare @myParms nvarchar(100)

    Declare @var1 int, @var2 int

    SET @mySQL = N'SELECT 

  • RE: Table constraints

    Interesting. It would be simple enough to implement with a constraint + a trigger, but the trigger would be enough, so the constraint is not needed.

    Considering what a constraint's...

  • RE: QOD 11/21

    A lot of debate, and good debate (IMO) where it comes to this question. Looking it over, I see that I made some assumptions about this table as well....

  • RE: stored procedures

    Stored procedures are "precompiled". From BoL:

    [Stored Procedures] allow faster execution.

    If the operation requires a large amount of Transact-SQL code or is performed repetitively, stored procedures can be faster...

  • RE: Creating a History table when the entries change

    So, basically you need to update if (a) it is new, or (b) it is changed since last week, yes?

    First, we need to get some code to identify the last...

  • RE: Select @@IDENTITY as id returns NULL

    Absolutely. This is because, no matter how much it seems that it should work, each of the calls to the server is a separate process. To return the...

  • RE: DTS processing time irregularities

    Which step is it that takes more time? Or is it that all steps take more time?

  • RE: Creating a loop for updating

    THe techniques used here depend on what exactly you need to do.

    For example, if what you needed to do was to update the SalesRep on your customers (because one rep...

Viewing 15 posts - 91 through 105 (of 152 total)