Viewing 15 posts - 1 through 15 (of 18 total)
March 4, 2017 at 2:58 am
Matt Miller (#4) (9/12/2016)
September 12, 2016 at 10:47 am
@Matt Miller (#4):Thanks for your help.
I have no identity_insert.
select ss_id from session
intersect
select sh_id from session_hist
ss_id
-----------
2045840
(1 row(s) affected)
This is the duplicated identity.
Next one: sorry, why do you search for -1?
select *...
August 31, 2016 at 11:04 am
Sergiy (8/30/2016)
You're on the right path.
Look for "RESEED" in the code.
Must be somewhere near DELETE from SESSIONS.
No reseed
Matt Miller (#4) (8/30/2016)
Try running this and see what you get:
select count(*)
from session_his...
August 30, 2016 at 11:13 am
@matt-2 Miller (#4): no
@sergiy, @Lynn Pettis: because the SESSION's row are delete few time after, you can see this on code. When a new...
August 30, 2016 at 12:58 am
SESSION table:
CREATE TABLE [dbo].[SESSION](
[SS_ID] [int] IDENTITY(1,1) NOT NULL,
[SS_USER_ID] [int] NULL,
[SS_GUID] [uniqueidentifier] NULL,
CONSTRAINT [PK_SS_ID] PRIMARY KEY NONCLUSTERED
(
[SS_ID] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS =...
August 29, 2016 at 11:38 am
Lynn Pettis (8/29/2016)
IDENT_CURRENT is similar to the SQL Server 2000 identity functions SCOPE_IDENTITY and @@IDENTITY. All three functions return last-generated identity values. However, the scope and session on...
August 29, 2016 at 10:00 am
Matt Miller (#4) (8/29/2016)
August 29, 2016 at 9:59 am
TheSQLGuru (8/29/2016)
1) SQL Server bug, as mentioned by others. VERY unlikely
2) bug in your code. possible issues:
a) you hold a value over from prior execution
b) you insert multiple...
August 29, 2016 at 9:46 am
Grant Fritchey (8/29/2016)
August 29, 2016 at 6:53 am
Eirikur Eiriksson (8/29/2016)
August 29, 2016 at 6:47 am
I have setted with cliconfg the default protocol to TCP/IP on both system and on the client of the linked server.
Perhaps I have not understand your message. I speak poor...
December 15, 2005 at 10:13 am
I can't downgrade Windows or upgrade SQL for some months.
I have already a Windows 2003 with SQL 7 and from the same remote SQL I can do a linked server...
December 15, 2005 at 10:00 am
I post the solution.
It is necessary close all the connection that are dynamic before the next connection would be set.
To do this right click on the "object" (SQL Task...
June 23, 2005 at 3:45 am
Viewing 15 posts - 1 through 15 (of 18 total)