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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by vadimg

  1. vadimg

    full-text indexing on multilanguage data

    SQLServer 2005 SQLServer 2000 Can sql server full-text index and apply appropriate word breakers for a unicode column? Data in the column can be in any language. if so, what are the drawbacks? would it be better to keep data separate (1 column for every language or 1 table for every...
  2. vadimg

    linked servers and client network utility wackyness...

    nevermind... you can avoid this problem by using @datasrc parameter in sp_addlinkedserver procedure... a little research does wonders ;0)
  3. vadimg

    linked servers and client network utility wackyness...

    I have 2 instances of SQL on the same server. SERVER\INSTANCE_A SERVER\INSTANCE_B I create a linked server connection 'LINKED_SERVER' on both instances (the linked server MUST have the same name on both instances... Now, I want LINKED_SERVER on SERVER\INSTANCE_A to point physically to...
  4. vadimg

    column description -- where is it in system tables

    hi Gurus. When you create a ERD using Enterprise Manager's diagram utility -- you are able to see column descriptions. (You can also add column description when Designing table in Enterprise Manager. Where in system tables is this value stored? (it's not in syscolumns where it would make the...
  5. vadimg

    orphaned transactions .....

    Karl -- you are absolutely correct. The scope of the transaction should always be in the stored procedure. However, in this case the transaction is a distributed transaction.... So it 2phase commits a sp to 3 different servers. in any case -- i did some research on this... the case i...
  6. vadimg

    orphaned transactions .....

    thanks for the answers guys. I got a hold of ms support guy, and he basically told me the same thing... unfortunately, if the network connection get's lost there is not much you can do aside from tracking down the spid and killing it... ;(
  7. vadimg

    orphaned transactions .....

    you didn't understand the question. i know why blocking happens. what i'm trying to simulate is a network hickup on the connection that started the transaction, which renders the transaction and the session orphaned.
  8. vadimg

    orphaned transactions .....

    hi gurus. here is how I simulate an orphaned transaction from a query analyzer window: --create table create table xxx (i int) --initiate a transaction (do not commit or rollback) begin tran insert xxx (i) select 1 once the transaction is open, pull the network cord from the client machine...
  9. vadimg

    create procedure doesn't fail when referencing nonexistent tables

    i guess not... Referencing Objects SQL Server allows the creation of stored procedures that reference objects that do not yet exist. At creation time, only syntax checking is done. The stored procedure is compiled to generate an execution plan when executed, if a valid plan does not already...
  10. vadimg

    create procedure doesn't fail when referencing nonexistent tables

    hi. when i create procedures that select form non-existing tables, the procedure compiles without error... is there an option that would not allow creation of such procedures?
  11. vadimg

    concurrency issues on insert

    karl, agreed that it's probably a timing issue. But the results are 100% repeatable.... i'm still investigating. thanks for an interesting solution. As i've mentioned: GUIDs, and identity work! I know that. I tested them. But i can't use them. but since everyone is suggesting them, i'm...
  12. vadimg

    concurrency issues on insert

    thanks guys. i know this problem is easily solved by Guid's or Identity. Now here's an interesting development. I changed the procedure code update the value first, and this does not generate PK errors.... HMMMMMM... I'll think about this and maybe post the answer when i find it...
  13. vadimg

    concurrency issues on insert

    raising isolation level causes deadlocks. guid's or identity are not an option (yet). Blocking is not happening in this case (that's why PK violation errors). I mean, if i'm being locked out by something, my query is queued until the lock is released... That doesn't seem to happen here. i'm...
  14. vadimg

    SP with in SP

    declare @MyResult nchar (50) EXEC @MyResult = master.dbo.sp_addrolemember @role, @username
  15. vadimg

    concurrency issues on insert

    hmmmm... There has to be a good solution to this, but i can't find it. Hope you guys can help me. Application inserts rows into a table. My code has to assign a new primary key to every row. Ideally the primary key is INTEGER, and every new row gets PK = max + 1. I know i can use GUID's...

Part and Inventory Search

Back
Top