Forum Replies Created

Viewing 15 posts - 5,191 through 5,205 (of 7,429 total)

  • RE: Getting user role upon login to application

    You will have to catch input from them to use at application logon or code API methods if they are NT login and id's are the same.

    "Don't roll your eyes...

  • RE: Transactions in stored procedure

    I prefer this way as it returns an error specific to where the problem occurred and rollsback all as soon as issue has occurred.

    create procedure ip_test

    as

    begin transaction

    statement 1

    if @@Error !=...

  • RE: Stored Procedure Not Optimal

    Also when you run each way output the Execution Plan and see if they differ in any way.

    "Don't roll your eyes at me. I will tape them in place." (Teacher...

  • RE: OPENQUERY

    I agree use

    SELECT TOP 10 * FROM LINKED_SERVER_NAME.dbname.dbo.tblTemp

    will produce the same results.

    "Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)

  • RE: Full-Text Query Error: Unknown Result

    Since SP4 is new may want to let Microsoft know of your situation to make sure that they take a look and see if is a reporducable issue.

    "Don't roll your...

  • RE: xp_SendMail

    Since ' (single quote) is the text delimiter in SQL you have to double up or '' when qualifiying text inside. Try

    @Query = 'SELECT CustomerNo, Surname FROM tblCustomerData Where Surname...

  • RE: Getting user role upon login to application

    sp_helpuser is one way you can get the roles. They come back in the GroupName section and this can be run by the public role.

    "Don't roll your eyes at me....

  • RE: OPENQUERY

    I have not seen this before on my linked servers, however what type of server is the linked server and what si the query you are using to in the...

  • RE: Performance Monitor

    Look in COntrol Panel and Services at Performance Logs and Alerts and see what account the serivice is LogOnAs under. Most likely it is LocalSystem, you need to change this...

  • RE: Disabling constraints

    Actually you can disable it for INSERT and UPDATE which is all. To be able to drop a table, even if disabled you have to drop the FK constraint first,...

  • RE: Audit Trail

    It also depends on several factors of what you are wanting to audit. If it is basic access on tables for INSERT, UPDATE, and DELETE then a trigger is sufficient....

  • RE: A question of @@GLOBAL importance

    From BOL on @@FETCH_STATUS

    quote:


    Returns the status of the last cursor FETCH statement issued against any cursor currently opened by the connection.


  • RE: Backup Jobs hanging

    Do you have it verifing the backups? Also check to make sure the file itself is not locking or a netowkr issue that may exists. Problem with remote backups is...

  • RE: Backup Job

    The big question to see if these meet your needs is what is the most you will lose and is this lose acceptable. If so then fine, if not then...

  • RE: Full-Text Query Error: Unknown Result

    The problem is like this one listed for SQL 2K SP2 see http://support.microsoft.com/default.aspx?scid=kb;en-us;Q317486 what SP level are you at with you SQL 7 server. Also someone made the statement this...

Viewing 15 posts - 5,191 through 5,205 (of 7,429 total)