Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 1,123 total)

  • RE: Trigger problem

    You need to set the nested triggers option of server configuration settings to 0 to stop the engine from executing the trigger recursively using the following snippet...

    USE master;

    GO

    EXEC sp_configure 'nested...

  • RE: Unique ID for a View

    You can add column with a unique combination of the existing columns or you can use newid() function to have a 25 characters long unique value..

  • RE: Feedback on QotD changes

    It would be better if we can have a filter for unanswered questions, in case if anyone wants to check for unanswered questions....:P

  • RE: Need help in building query

    Thanks Ken for your response..
     
    Initially, I'd the same thought of using Count as the criteria for filtering the rows..
     
    The...
  • RE: Run List of .sql files from a batch file

    ECHO OFF

    CLS

    SET FilePath=C:\MySQLFiles\*.sql

    SET MyServer=NameOfTheServer

    SET MyLogin=LoginName

    SET MyPassword=Password

    SET MyDatabase=DefaultDB

    FOR %%i IN (%FilePath%) DO osql -S%MyServer% -U%MyLogin% -P%MyPassword% -d%MyDatabase% -i%%i -o%%i.log

  • RE: Shortcoming of Synonyms

    Andras, seems like you've a bad experiences with synonyms....

    And also you can't have a synonym on a database...

    The problem only yells at you when you have so many objects that...

  • RE: I have two tables, each table needs

    Keeping aside the execution plans, the time constraint...here is one of the solns...

    SELECT * FROM databaseimageslist

    WHERE LOWER( DatabaseImagesList.Path + DatabaseImagesList.Directory + '\' + DatabaseImagesList.FileName ) NOT IN( SELECT LOWER(...

  • RE: I have two tables, each table needs

    Keeping aside the execution plans, the time constraint...here is one of the solns...

    SELECT * FROM databaseimageslist

    WHERE LOWER( DatabaseImagesList.Path + DatabaseImagesList.Directory + '\' + DatabaseImagesList.FileName ) NOT IN( SELECT LOWER(...

  • RE: Adding SELECT values with a NULL

    Basic stuff...

    SELECT COALESCE( WCAmount, 0 ) + COALESCE( WCHours, 0 ) AS Total FROM worktime

    WHERE WCid = 'WC11111'

     

    OR

     

    SELECT ISNULL(

  • RE: Random numbers generation SP

    You might have a look at GUIDs...

    SELECT

    NEWID()

  • RE: Is hash tables is better than temporary user tables?

    Jeff,

    Thanks for your response...

    Honestly saying, I doesn't have much idea about MLM systems...

  • RE: SQL Server Agent Status...

    Anchelin,

    Here is one of the ways to know the state of ther service...

    EXEC master.dbo.xp_ServiceControl 'QUERYSTATE','SQLServerAgent'

    Keep in mind that xp_ServiceControl is undocumented and unsupported as its...

  • RE: Is hash tables is better than temporary user tables?

    Jeff,

    Nothing much....it just sums up the incomes for which we all are working....a payroll process

    When I started this post, I was in context for #tables & the user tables which...

  • RE: why not showing the nulls?

    Darth,

    seems like still looking for a soln...to be left in the middle of the con

    Looking at my query, I notice that i mistakenly used...

  • RE: RE:

    Karna,

    Basic stuff again....

    This error is because you've not specified the logical file names for the backup file.

    Use RESTORE FILELISTONLY to get the list of files associated with the backup file.

Viewing 15 posts - 1,066 through 1,080 (of 1,123 total)