Viewing 15 posts - 9,031 through 9,045 (of 13,881 total)
I am wondering whether it would be worth producing properly normalised tables in each of the databases. I'm thinking along the lines of
(CustId, AttId, AttValue)
These three values could form...
October 9, 2014 at 12:14 pm
Paul Stasny (10/9/2014)
Thanks for your reply. I'm not clear on what you are suggesting. The only thing that links the two databases is the custid and custcode values. Based on...
October 9, 2014 at 12:05 pm
Perhaps you can change your approach slightly – how about modifying your queries to run independently and produce lists of row counts, sums, checksums, whatever and then comparing those results?
October 9, 2014 at 11:22 am
Rick Harper (10/9/2014)
An old friend has come up with the answer so the riddle is solvedI just replace:
DECLARE @strdate VARCHAR
with
DECLARE @strdate VARCHAR(15)
and everything works fine.
Never mind your old friend. Your...
October 9, 2014 at 5:42 am
Try running this and the answer will become clear:
DECLARE @strdate varchar
SET @strdate = '2004-01-01'
select @strdate
By declaring your variable as Varchar but without a length, SQL Server assumes a length of...
October 9, 2014 at 5:24 am
There is no out of the box way to do this.
Have a look here for some ideas.
If you have only a few numbers to consider, there may be a simpler...
October 9, 2014 at 1:24 am
omakler (10/8/2014)
October 8, 2014 at 8:41 am
omakler (10/7/2014)
October 8, 2014 at 1:32 am
sturner-926343 (10/7/2014)
Table1
T1_Id
1
2
3
4
Table2
T2_IDT1_ID ...
October 7, 2014 at 9:01 am
karthik82.vk (10/7/2014)
I cannot create rows for the missing dates or change the date as its not a permitted- one. the data comes from another system and adding or changing...
October 7, 2014 at 5:19 am
A note to the original poster. This thread is typical of many on this forum where, had you taken the time to write the question in the form suggested in...
October 7, 2014 at 12:31 am
Try this
use AA_Helper
go
select extension = AGENT_ID
from dbo.tblEmpData
where agent_ID is not null
union all
select agent_id2
from dbo.tblEmpData
where agent_ID2 is not null
If you want DISTINCT entries only, change UNION ALL to UNION.
October 6, 2014 at 12:12 pm
I'm not 100% sure of what you are after, but maybe start with this:
SELECT DISTINCT
Extension = isNull(Agent_Id,'') + isNull(Agent_Id2,'')
from [AA_Helper].[dbo].[tblEmpData]
October 6, 2014 at 9:15 am
As you did not answer all of my questions, it is difficult to help you.
October 5, 2014 at 6:44 am
challakarthik (10/5/2014)
I have a scenario like ........I have 6 flat files(Country1,Country2,Country3,.......Country6) in the source and i need to fetch the records of Country1 flat file to Country1 table in...
October 5, 2014 at 3:53 am
Viewing 15 posts - 9,031 through 9,045 (of 13,881 total)