Viewing 15 posts - 1,036 through 1,050 (of 4,820 total)
Not sure if this makes a difference, but does the TargetServer property have any influence on this?
June 19, 2018 at 12:04 pm
June 19, 2018 at 12:02 pm
I've not done a whole lot with replication, but my guess is that you'll want to at some point turn off that table's replication. I'd be looking at the following...
June 19, 2018 at 11:32 am
When you say you are getting locks, which object is being locked, and which SPID is holding that lock? We'd need to see the query and perhaps the output of...
June 19, 2018 at 11:05 am
i am doing this to help eliminate duplicate rows...
June 19, 2018 at 10:58 am
June 19, 2018 at 10:51 am
First, why are you trying to use JSON for this? JSON is expensive to parse, and constructing JSON is even more challenging. You may want to search the web for...
June 19, 2018 at 10:39 am
Well... re-formatting your code to improve it does mean that you still need to have it inside of the code="SQL" and /code tags, so the last post didn't help any...
June 19, 2018 at 10:29 am
If your objective is to be "version insensitive" to SQL Server versions, then you either have to know the version values and code for them, or you need to eliminate...
June 19, 2018 at 9:59 am
Understand that this is entirely a guess:SELECT DISTINCT
JOBNUMBER,
TASKNAME,
YEAR(ENTRYDATE) AS [Year],
MONTH(ENTRYDATE) AS [Month],
SUM(COSTPRICEREG) OVER (PARTITION BY JOBNUMBER, TASKNAME, YEAR(ENTRYDATE), MONTH(ENTRYDATE) ORDER BY YEAR(ENTRYDATE), MONTH(ENTRYDATE)) AS...
June 19, 2018 at 9:41 am
You could probably make use of an inline-table-valued function, as follows:CREATE FUNCTION dbo.fnGetTempItems (
@GetClassC tinyint = NULL
)
RETURNS TABLE WITH SCHEMABINDING
RETURN
SELECT TI.item, TI.class
FROM temp_item...
June 19, 2018 at 6:49 am
With no data to use to compare these, it's a little harder to ferret things out, but at a quick glance, you have a column name that is different in...
June 19, 2018 at 6:35 am
First problem... You are expecting to use a single CASE statement that involves every column that you are looking to compare, and some of which are dates.
Whenever you encounter...
June 19, 2018 at 6:21 am
The files contained in the directory I'm searching are names as follows.
four files
340154.6000339193.180518.d.A234.dfr_resp.pgp
340154.6000339193.180578.d.A104.dfr_resp.pgp
340158.6000339201.180518.d.A234.dfr_resp.pgp
340158.6000339201.180518.d.B410.dfr_resp.pgp
The numbers 333193...
June 18, 2018 at 11:13 am
Viewing 15 posts - 1,036 through 1,050 (of 4,820 total)