Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pgraves
  • Content: Threads
  • Order by date
  1. pgraves

    Get @@Identity value across servers

    Hi all, I am inserting into a remote table and need to get the identity value that was last created i.e. insert into [RemoteServer].[RemoteDatabase].dbo.[DB](num) values(1) declare @id int set @id = @@identity select @id This is returning NULL for the identity value but works fine if I run it...
  2. pgraves

    DDL Triggers Distributed Transaction Error

    Hi all, I have just started to try and implement DDL auditing triggers in SQL Server 2005 and get a Distributed Transaction error when inserting into a remote audit table. Part of the error reads: 'Cannot acquire a database lock during a transaction change. An error occurred during the changing...
  3. pgraves

    UPDATETEXT across linked server

    Hi all, I am trying to use the UPDATETEXT functionality across a linked server and am not sure if it is possible e.g. This is BOL syntax: UPDATETEXT table_name.column_name @dest_textptr 0 NULL table_name.column_name @src_textptr I need to reference a column on a remote server: UPDATETEXT...
  4. pgraves

    DTS problem when scheduling as job

    Hi all, I hope someone can help me with this as I am completely stumped. I have a DTS package that uses an activeX script to loop through a bunch of files in a folder. The data in the files is then inserted into a table. When running the DTS package from Enterprise Manager is runs perfectly...
  5. pgraves

    ASP:GridView - Passing TextBox value to procedure

    Hi all, I have a TextBox and am trying to pass it's value to a SQL Server procedure specified in an asp:GridView. The GridView works fine if I put in a default value but doesn't seem to pick up the form value, in fact after running the profiler there is no call to the procedure at all. The...

Part and Inventory Search

Back
Top