Viewing 15 posts - 1 through 15 (of 33 total)
Thanks for your help Luis. I've ended up doing this a bit differently and will pass the incremented pull# manually for now. You've given me food for thought for next...
December 7, 2012 at 1:09 pm
Luis Cazares (12/6/2012)
Your not using columns from your table to filter, you're getting the last row returned by SQL Server (which might not always be the...
December 6, 2012 at 5:55 pm
netstat -abn (with elevated command prompt) will show all ports in use by all applications on the system.
or
Launch SQL Server Configuration Manager. Go to SQL Server Network Configuration and...
December 6, 2012 at 5:28 pm
Jeff Moden (12/5/2012)
Evil Kraig F (12/5/2012)
If you're looking at a complete...
December 6, 2012 at 5:20 pm
Luis Cazares (12/6/2012)
I might be wrong, so you should test with your data.
USE [TEST_DATABASE]
GO
SET ANSI_NULLS...
December 6, 2012 at 5:11 pm
SQLCrazyCertified (12/6/2012)
jerry-621596 (12/6/2012)
Then change...
December 6, 2012 at 5:01 pm
I forgot to mention, that the master stored procedure will be called from a scheduled job calling the following t-sql:
exec sp_Run_Inserts null,null,null,null
This way it runs without any inputs needed each...
December 6, 2012 at 4:45 pm
I am keeping the insert/update/delete routine in place for now until they give me data with a PK. I agree uniqueness is needed to properly work with the data. Thanks...
November 8, 2012 at 10:21 am
Tava (11/6/2012)
You're correct in what you said the issue is that your source has duplicates, so based on the below you will always return multiple results, hence the MERGE...
November 7, 2012 at 5:53 pm
Here is the data to test with:
CREATE TABLE [dbo].[AssetClassUDF](
[ASSET_UDF_VALUE] [nvarchar](255) NULL,
[ASSET_UDF_DESC] [nvarchar](255) NULL,
[ASSETDETAIL_Id] [numeric](20, 0) NULL,
[Pulldate] [date] NULL
) ON [PRIMARY]
GO
INSERT INTO ASSETCLASSUDF
(ASSET_UDF_VALUE,ASSET_UDF_DESC,ASSETDETAIL_Id,Pulldate)
SELECT '','Filter 1 - Size/Description','16','2012-10-31' Union All
SELECT '','Filter...
November 7, 2012 at 12:07 pm
Here is an attempt to use a CTE and I am lost again, not sure if this is going to work as I expected. Code below throws the same merge...
November 7, 2012 at 11:35 am
Thanks all. I will have a go with group by in my merge and see if I can get the results I am after.
The source data is a feed that...
November 7, 2012 at 10:37 am
Thanks for all the help, this issue has been put on the back burner. Project deadlines... 😉
November 6, 2012 at 3:11 pm
_Beetlejuice (10/31/2012)
Do you have any DNS Suffixes (in the DNS tab of Advanced TCP/IP settings) on the nic card?
On the local machine or the server? (i will be back in...
October 31, 2012 at 2:25 pm
Thanks everyone that has been helping! I am still trying to narrow down the cause 🙂
October 30, 2012 at 11:48 am
Viewing 15 posts - 1 through 15 (of 33 total)