Viewing 15 posts - 1 through 15 (of 21 total)
Seems a little backwards to me that you have the IDs already existing in a table and then they're assigned to a User on login. I would think you'd want...
June 4, 2019 at 5:40 pm
Maybe something like this will help. It will populate that temp table with the directory depth of the file/folder and a flag to indicate if the record is a...
March 19, 2019 at 1:47 pm
You said you're getting a PK violation so maybe you're trying to insert some combination of:
outorder, status, outorder_source
...that already exists in the table? So you may not have...
September 27, 2018 at 7:28 am
I think you can do something like what I have below. I just mocked up some simple test data with a simple aggregate on the QTY column but I think...
August 27, 2018 at 3:58 pm
"however when i load the csv file into the DB I cannot store as varbinary, so stored as nvarchar.
when i attempt the join:"
Why can't you store...
May 8, 2018 at 11:44 am
I think I see what you're trying to do but difficult to be sure without any sample data or anything to go off of. But I think you have...
March 20, 2018 at 9:27 am
Perhaps something like:
Declare @sql as varchar(max)
Set @SQL = 'Select
''hello world''
as Message
'
--pseudo code for checking if site 1...
January 11, 2018 at 12:35 pm
As others on here have mentioned...your data is is being collected by the application in a logging format so your first step is to determine the duration for each...
October 9, 2017 at 10:09 am
April 12, 2017 at 9:24 am
Give this a shot...I think it satisfies all requirements. Let me know if it produces the desired results...it's hard to be certain with the limited test data. If it...
April 11, 2017 at 3:43 pm
The problem is most likely that you're trying to run this script in DBs that don't have those tables. Again...like I said, this script is dynamic so it runs in...
June 12, 2015 at 7:59 am
Again...you need to adjust to code for YOUR database.
The code below in the dynamic SQL portion needs to be altered to match YOUR schema. Transactional replication is primary key based...
June 9, 2015 at 11:42 am
This is the code you're using:
/****** Object: StoredProcedure [dbo].[uspReplicationSyncMonitor] Script Date: 06/04/2015 11:37:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF OBJECT_ID('uspReplicationSyncMonitor') IS NOT NULL DROP PROCEDURE uspReplicationSyncMonitor;
go
CREATE PROCEDURE [dbo].[uspReplicationSyncMonitor]
AS
/* This proc will...
June 5, 2015 at 12:11 pm
What was the result when you ran the code?
A couple things to consider...
Did you change the name of the linked server mentioned in the code to the linked server you...
June 5, 2015 at 8:08 am
Perhaps something like this would be useful for you. Seems like it's doing nearly exactly what you want.
/****** Object: StoredProcedure [dbo].[uspReplicationSyncMonitor] Script Date: 06/04/2015 11:37:40 ******/
SET ANSI_NULLS...
June 4, 2015 at 10:23 am
Viewing 15 posts - 1 through 15 (of 21 total)