How could i updated a table created with 5 tables.

Hi everyone,
This is my problem. I have five "tables" and each one contains one row and 7 columns. In the other hand, I have one table(Ireland1) that it retrieves the values of these 5 "tables" through of " insert into" statement.
How would be I able to update of "Ireland1" data, when one of this "tables" (Remenber, I have 5 tables)  has changed?
I have been searching information about this but  all my search has been fruitless.
Thanks in advance,
From Ireland

Hi Eric,
Thank you for your quick reply and solution. I have run your statement and appear this error:
Msg 156, Level 15, State 1, Procedure Non_current_assets_Historic_View, Line 426
Incorrect syntax near the keyword 'SELECT'.
I dont know why this error appear
I leave my Sript practically full
USE Aerospace
GO
--TABLE NON-CURRENT ASSETS
IF OBJECT_ID('Non_current_assets_Historic') IS NOT NULL
DROP TABLE Non_current_assets_Historic
GO
CREATE TABLE Non_current_assets_Historic
[IdCuenta] [float] NOT NULL,
[NameCuenta] [nvarchar](255) NULL,
Year_2006 decimal (14,2) NULL,
Year_2007 decimal (14,2) NULL,
Year_2008 decimal (14,2) NULL,
Year_2009 decimal (14,2) NULL,
Year_2010 decimal (14,2) NULL,
Year_2011 decimal (14,2) NULL,
Year_2012 decimal (14,2) NULL,
Year_2013 decimal (14,2) NULL,
Year_2014 decimal (14,2) NULL,
Dif_2007_2006 decimal (14,2) NULL,
Dif_2008_2007 decimal (14,2) NULL,
Dif_2009_2008 decimal (14,2) NULL,
Dif_2010_2009 decimal (14,2) NULL,
Dif_2011_2010 decimal (14,2) NULL,
Dif_2012_2011 decimal (14,2) NULL,
Dif_2013_2012 decimal (14,2) NULL,
Dif_2014_2013 decimal (14,2) NULL,
AHP_2007_2006 decimal (14,2) NULL,
AHP_2008_2007 decimal (14,2) NULL,
AHP_2009_2008 decimal (14,2) NULL,
AHP_2010_2009 decimal (14,2) NULL,
AHP_2011_2010 decimal (14,2) NULL,
AHP_2012_2011 decimal (14,2) NULL,
AHP_2013_2012 decimal (14,2) NULL,
AHP_2014_2013 decimal (14,2) NULL,
GO
ALTER TABLE Non_current_assets_Historic
ADD CONSTRAINT PK_Non_current_assets_Historic PRIMARY KEY (IdCuenta)
GO
UPDATE Non_current_assets_Historic SET Year_2006=0 WHERE Year_2006 IS NULL
UPDATE Non_current_assets_Historic SET Year_2007=0 WHERE Year_2007 IS NULL
UPDATE Non_current_assets_Historic SET Year_2008=0 WHERE Year_2008 IS NULL
UPDATE Non_current_assets_Historic SET Year_2009=0 WHERE Year_2009 IS NULL
UPDATE Non_current_assets_Historic SET Year_2010=0 WHERE Year_2010 IS NULL
UPDATE Non_current_assets_Historic SET Year_2011=0 WHERE Year_2011 IS NULL
UPDATE Non_current_assets_Historic SET Year_2012=0 WHERE Year_2012 IS NULL
UPDATE Non_current_assets_Historic SET Year_2013=0 WHERE Year_2013 IS NULL
UPDATE Non_current_assets_Historic SET Year_2014=0 WHERE Year_2014 IS NULL
GO
INSERT INTO Non_current_assets_Historic
SELECT *
FROM Property_plant_equipment_Historic
INSERT INTO Non_current_assets_Historic
SELECT *
FROM Intangible_assets_Historic
INSERT INTO Non_current_assets_Historic
SELECT *
FROM Available_financial_assets_Historic
INSERT INTO Non_current_assets_Historic
SELECT *
FROM Deferred_tax_assets_Historic
INSERT INTO Non_current_assets_Historic
SELECT *
FROM Deposits_restricted_12M_Historic
GO
--SUMATORIO YEAR 2006
Declare @Cantidad20061 decimal (14,2)
Declare @Cantidad20062 decimal (14,2)
Declare @Cantidad20063 decimal (14,2)
Declare @Cantidad20064 decimal (14,2)
Declare @Cantidad20065 decimal (14,2)
Select @Cantidad20061 = Year_2006 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad20062 = Year_2006 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad20063 = Year_2006 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad20064 = Year_2006 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad20065 = Year_2006 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2007
Declare @Cantidad20071 decimal (14,2)
Declare @Cantidad20072 decimal (14,2)
Declare @Cantidad20073 decimal (14,2)
Declare @Cantidad20074 decimal (14,2)
Declare @Cantidad20075 decimal (14,2)
Select @Cantidad20071 = Year_2007 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad20072 = Year_2007 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad20073 = Year_2007 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad20074 = Year_2007 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad20075 = Year_2007 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2008
Declare @Cantidad20081 decimal (14,2)
Declare @Cantidad20082 decimal (14,2)
Declare @Cantidad20083 decimal (14,2)
Declare @Cantidad20084 decimal (14,2)
Declare @Cantidad20085 decimal (14,2)
Select @Cantidad20081 = Year_2008 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad20082 = Year_2008 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad20083 = Year_2008 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad20084 = Year_2008 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad20085 = Year_2008 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2009
Declare @Cantidad20091 decimal (14,2)
Declare @Cantidad20092 decimal (14,2)
Declare @Cantidad20093 decimal (14,2)
Declare @Cantidad20094 decimal (14,2)
Declare @Cantidad20095 decimal (14,2)
Select @Cantidad20091 = Year_2009 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad20092 = Year_2009 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad20093 = Year_2009 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad20094 = Year_2009 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad20095 = Year_2009 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2010
Declare @Cantidad200101 decimal (14,2)
Declare @Cantidad200102 decimal (14,2)
Declare @Cantidad200103 decimal (14,2)
Declare @Cantidad200104 decimal (14,2)
Declare @Cantidad200105 decimal (14,2)
Select @Cantidad200101 = Year_2010 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad200102 = Year_2010 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad200103 = Year_2010 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad200104 = Year_2010 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad200105 = Year_2010 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2011
Declare @Cantidad200111 decimal (14,2)
Declare @Cantidad200112 decimal (14,2)
Declare @Cantidad200113 decimal (14,2)
Declare @Cantidad200114 decimal (14,2)
Declare @Cantidad200115 decimal (14,2)
Select @Cantidad200111 = Year_2011 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad200112 = Year_2011 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad200113 = Year_2011 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad200114 = Year_2011 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad200115 = Year_2011 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2012
Declare @Cantidad200121 decimal (14,2)
Declare @Cantidad200122 decimal (14,2)
Declare @Cantidad200123 decimal (14,2)
Declare @Cantidad200124 decimal (14,2)
Declare @Cantidad200125 decimal (14,2)
Select @Cantidad200121 = Year_2012 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad200122 = Year_2012 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad200123 = Year_2012 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad200124 = Year_2012 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad200125 = Year_2012 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2013
Declare @Cantidad200131 decimal (14,2)
Declare @Cantidad200132 decimal (14,2)
Declare @Cantidad200133 decimal (14,2)
Declare @Cantidad200134 decimal (14,2)
Declare @Cantidad200135 decimal (14,2)
Select @Cantidad200131 = Year_2013 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad200132 = Year_2013 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad200133 = Year_2013 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad200134 = Year_2013 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad200135 = Year_2013 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO YEAR 2014
Declare @Cantidad200141 decimal (14,2)
Declare @Cantidad200142 decimal (14,2)
Declare @Cantidad200143 decimal (14,2)
Declare @Cantidad200144 decimal (14,2)
Declare @Cantidad200145 decimal (14,2)
Select @Cantidad200141 = Year_2014 from Non_current_assets_Historic where IdCuenta ='7'
Select @Cantidad200142 = Year_2014 from Non_current_assets_Historic where IdCuenta ='8'
Select @Cantidad200143 = Year_2014 from Non_current_assets_Historic where IdCuenta ='9'
Select @Cantidad200144 = Year_2014 from Non_current_assets_Historic where IdCuenta ='10'
Select @Cantidad200145 = Year_2014 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2007_2006
Declare @DIF_2007_20061 decimal (14,2)
Declare @DIF_2007_20062 decimal (14,2)
Declare @DIF_2007_20063 decimal (14,2)
Declare @DIF_2007_20064 decimal (14,2)
Declare @DIF_2007_20065 decimal (14,2)
Select @DIF_2007_20061 = Dif_2007_2006 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2007_20062 = Dif_2007_2006 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2007_20063 = Dif_2007_2006 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2007_20064 = Dif_2007_2006 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2007_20065 = Dif_2007_2006 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2008_2007
Declare @DIF_2008_20071 decimal (14,2)
Declare @DIF_2008_20072 decimal (14,2)
Declare @DIF_2008_20073 decimal (14,2)
Declare @DIF_2008_20074 decimal (14,2)
Declare @DIF_2008_20075 decimal (14,2)
Select @DIF_2008_20071 = Dif_2008_2007 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2008_20072 = Dif_2008_2007 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2008_20073 = Dif_2008_2007 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2008_20074 = Dif_2008_2007 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2008_20075 = Dif_2008_2007 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2009_2008
Declare @DIF_2009_20081 decimal (14,2)
Declare @DIF_2009_20082 decimal (14,2)
Declare @DIF_2009_20083 decimal (14,2)
Declare @DIF_2009_20084 decimal (14,2)
Declare @DIF_2009_20085 decimal (14,2)
Select @DIF_2009_20081 = Dif_2009_2008 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2009_20082 = Dif_2009_2008 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2009_20083 = Dif_2009_2008 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2009_20084 = Dif_2009_2008 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2009_20085 = Dif_2009_2008 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2010_2009
Declare @DIF_2010_20091 decimal (14,2)
Declare @DIF_2010_20092 decimal (14,2)
Declare @DIF_2010_20093 decimal (14,2)
Declare @DIF_2010_20094 decimal (14,2)
Declare @DIF_2010_20095 decimal (14,2)
Select @DIF_2010_20091 = Dif_2010_2009 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2010_20092 = Dif_2010_2009 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2010_20093 = Dif_2010_2009 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2010_20094 = Dif_2010_2009 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2010_20095 = Dif_2010_2009 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2011_2010
Declare @DIF_2011_20101 decimal (14,2)
Declare @DIF_2011_20102 decimal (14,2)
Declare @DIF_2011_20103 decimal (14,2)
Declare @DIF_2011_20104 decimal (14,2)
Declare @DIF_2011_20105 decimal (14,2)
Select @DIF_2011_20101 = Dif_2011_2010 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2011_20102 = Dif_2011_2010 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2011_20103 = Dif_2011_2010 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2011_20104 = Dif_2011_2010 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2011_20105 = Dif_2011_2010 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2012_2011
Declare @DIF_2012_20111 decimal (14,2)
Declare @DIF_2012_20112 decimal (14,2)
Declare @DIF_2012_20113 decimal (14,2)
Declare @DIF_2012_20114 decimal (14,2)
Declare @DIF_2012_20115 decimal (14,2)
Select @DIF_2012_20111 = Dif_2012_2011 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2012_20112 = Dif_2012_2011 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2012_20113 = Dif_2012_2011 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2012_20114 = Dif_2012_2011 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2012_20115 = Dif_2012_2011 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2013_2012
Declare @DIF_2013_20121 decimal (14,2)
Declare @DIF_2013_20122 decimal (14,2)
Declare @DIF_2013_20123 decimal (14,2)
Declare @DIF_2013_20124 decimal (14,2)
Declare @DIF_2013_20125 decimal (14,2)
Select @DIF_2013_20121 = Dif_2013_2012 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2013_20122 = Dif_2013_2012 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2013_20123 = Dif_2013_2012 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2013_20124 = Dif_2013_2012 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2013_20125 = Dif_2013_2012 from Non_current_assets_Historic where IdCuenta ='11'
--SUMATORIO DIF_2014_2013
Declare @DIF_2014_20131 decimal (14,2)
Declare @DIF_2014_20132 decimal (14,2)
Declare @DIF_2014_20133 decimal (14,2)
Declare @DIF_2014_20134 decimal (14,2)
Declare @DIF_2014_20135 decimal (14,2)
Select @DIF_2014_20131 = Dif_2014_2013 from Non_current_assets_Historic where IdCuenta ='7'
Select @DIF_2014_20132 = Dif_2014_2013 from Non_current_assets_Historic where IdCuenta ='8'
Select @DIF_2014_20133 = Dif_2014_2013 from Non_current_assets_Historic where IdCuenta ='9'
Select @DIF_2014_20134 = Dif_2014_2013 from Non_current_assets_Historic where IdCuenta ='10'
Select @DIF_2014_20135 = Dif_2014_2013 from Non_current_assets_Historic where IdCuenta ='11'
insert into Non_current_assets_Historic (IdCuenta,NameCuenta,Year_2006 , Year_2007,Year_2008 ,Year_2009 ,Year_2010,Year_2011 ,Year_2012 ,Year_2013 ,
Year_2014,Dif_2007_2006,Dif_2008_2007, Dif_2009_2008, Dif_2010_2009,Dif_2011_2010,Dif_2012_2011,Dif_2013_2012,Dif_2014_2013,
AHP_2007_2006, AHP_2008_2007 , AHP_2009_2008, AHP_2010_2009, AHP_2011_2010, AHP_2012_2011 , AHP_2013_2012,AHP_2014_2013 )
Values (1, 'Non-current assets', NULL,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll),
(19, '', NULL,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll,NUll),
(20, 'Total Non-current assets',
--Year_2006
(@Cantidad20061 +@Cantidad20062 +@Cantidad20063 +@Cantidad20064 +@Cantidad20065),
--Year_2007
(@Cantidad20071+ @Cantidad20072 + @Cantidad20073+ @Cantidad20074+ @Cantidad20075),
--Year_2008
(@Cantidad20081 + @Cantidad20082 + @Cantidad20083 + @Cantidad20084 + @Cantidad20085),
--Year_2009
(@Cantidad20091 + @Cantidad20092 + @Cantidad20093+ @Cantidad20094 + @Cantidad20095),
--Year_2010
(@Cantidad200101 + @Cantidad200102 + @Cantidad200103 + @Cantidad200104 + @Cantidad200105),
--Year_2011
(@Cantidad200111 + @Cantidad200112 + @Cantidad200113 + @Cantidad200114 + @Cantidad200115),
--Year_2012
(@Cantidad200121 + @Cantidad200122 + @Cantidad200123 +@Cantidad200124 + @Cantidad200125),
--Year_2013
(@Cantidad200131 + @Cantidad200132 +@Cantidad200133 + @Cantidad200134 + @Cantidad200135),
--Year_2014
(@Cantidad200141 + @Cantidad200142 + @Cantidad200143 + @Cantidad200144 + @Cantidad200145),
--Diferencia Numeria 2007-2006
(@DIF_2007_20061 + @DIF_2007_20062 + @DIF_2007_20063 + @DIF_2007_20064 + @DIF_2007_20065),
--Diferencia Numeria 2008-2007
(@DIF_2008_20071 + @DIF_2008_20072 + @DIF_2008_20073 + @DIF_2008_20074 + @DIF_2008_20075),
--Diferencia Numeria 2009-2008
(@DIF_2009_20081 + @DIF_2009_20082 + @DIF_2009_20083 + @DIF_2009_20084 + @DIF_2009_20085 ),
--Diferencia Numeria 2010-2009
(@DIF_2010_20091 + @DIF_2010_20092 + @DIF_2010_20093 + @DIF_2010_20094 + @DIF_2010_20095),
--Diferencia Numeria 2011-2006
(@DIF_2011_20101 + @DIF_2011_20102 + @DIF_2011_20103 +@DIF_2011_20104 + @DIF_2011_20105 ),
--Diferencia Numeria 2012-2011
(@DIF_2012_20111+@DIF_2012_20112+@DIF_2012_20113+@DIF_2012_20114+@DIF_2012_20115),
--Diferencia Numeria 2013-2012
(@DIF_2013_20121 + @DIF_2013_20122 +@DIF_2013_20123 +@DIF_2013_20124 + @DIF_2013_20125),
--Diferencia Numeria 2014-2013
(@DIF_2014_20131+@DIF_2014_20132+@DIF_2014_20133+@DIF_2014_20134+@DIF_2014_20135),
--Diferencia Porcentual 2007-2006
(@DIF_2007_20061+@DIF_2007_20062+@DIF_2007_20063+@DIF_2007_20064+@DIF_2007_20065)/(@Cantidad20061 +@Cantidad20062 +@Cantidad20063 +@Cantidad20064 +@Cantidad20065),
--Diferencia Porcentual 2008-2007
(@DIF_2008_20071 + @DIF_2008_20072 + @DIF_2008_20073 + @DIF_2008_20074 + @DIF_2008_20075)/(@Cantidad20071+ @Cantidad20072 + @Cantidad20073+ @Cantidad20074+ @Cantidad20075),
--Diferencia Porcentual 2009-2008
(@DIF_2009_20081 + @DIF_2009_20082 + @DIF_2009_20083 + @DIF_2009_20084 + @DIF_2009_20085 )/(@Cantidad20081 + @Cantidad20082 + @Cantidad20083 + @Cantidad20084 + @Cantidad20085),
--Diferencia Porcentual 2010-2009
(@DIF_2010_20091 + @DIF_2010_20092 + @DIF_2010_20093 + @DIF_2010_20094 + @DIF_2010_20095)/(@Cantidad20091 + @Cantidad20092 + @Cantidad20093+ @Cantidad20094 + @Cantidad20095),
--Diferencia Porcentual 2011-2010
(@DIF_2011_20101 + @DIF_2011_20102 + @DIF_2011_20103 +@DIF_2011_20104 + @DIF_2011_20105)/(@Cantidad200101 + @Cantidad200102 + @Cantidad200103 + @Cantidad200104 + @Cantidad200105),
--Diferencia Porcentual 2012-2011
(@DIF_2012_20111+@DIF_2012_20112+@DIF_2012_20113+@DIF_2012_20114+@DIF_2012_20115)/(@Cantidad200111 + @Cantidad200112 + @Cantidad200113 + @Cantidad200114 + @Cantidad200115),
--Diferencia Porcentual 2013-2012
(@DIF_2013_20121 + @DIF_2013_20122 +@DIF_2013_20123 +@DIF_2013_20124 + @DIF_2013_20125)/(@Cantidad200121 + @Cantidad200122 + @Cantidad200123 +@Cantidad200124 + @Cantidad200125),
--Diferencia Porcentual 2014-2013
(@DIF_2014_20131+@DIF_2014_20132+@DIF_2014_20133+@DIF_2014_20134+@DIF_2014_20135)/(@Cantidad200131 + @Cantidad200132 +@Cantidad200133 + @Cantidad200134 + @Cantidad200135))
GO
SELECT IdCuenta ,NameCuenta ,Year_2006 ,Year_2007 ,Year_2008 ,Year_2009 ,Year_2010 ,Year_2011 ,Year_2012 , Year_2013 ,Year_2014
FROM Non_current_assets_Historic
Maybe the error is in the design
of this table
Regards
Francisco
I work with SQL 2014 Management Studio

Similar Messages

  • Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    The_Tonmoy wrote:
    I have no communication with my that friend :/ So it means i need to delete those apps? There's no other solution to update those apps?
    No.  purchases are forever tied to the apple ID used to buy them.  Delete them and buy your own copies.

  • I created an image in Photoshop and saved it as the PSD file. Now when I try and open it it says it is not compatible with my version. How could this be when I created it in this version?

    I created an image in Photoshop and saved it as the PSD file. Now when I try and open it it says it is not compatible with my version. How could this be when I created it in this version?

    That depends on why it won't open.  Most of the time it means the file is corrupted and unlikely to be recovered. If you saved it right after adding or copying a LOT of layers - then it might just be the layer limit and we can attempt to recover it.

  • How could I know which table the synonym points to now?

    I have two tables with the same structure, TableA and TableB
    I create a synonym which points to TableA. In some senario, the synonym should be switched to point to the other table.
    How could I know which table the synonym points to right now? So that I can switch the synonym to the other table.
    Thanks a lot!!!!!!

    How could I know which table the synonym points to right nowSee all_synonyms view.
    So that I can switch the synonym to the other tableNot without drop synonym. You need to drop and recreate the synonym to point to the new table.
    Nicolas.

  • How could I update my apps that have my old Apple ID and how could I use face time

    How could I update my apps that have my old Apple ID n how could I use face time

    I can't help you if you don't know your Apple ID and/or password. You can change your password at: Manage My Apple ID. You will need to know the answers to your security questions. If you don't know those, then see the following:
    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • How does SAP updates MKPF Table Through TCODE MB0A

    Hello There,
       how does SAP updates MKPF Table Through TCODE MB0A ( POST GOODS RECEIPT )? I tried to debug the same by posting GR, but could not figure out.
    Awaiting Reply
    Santosh

    Hi ,
    These are the table that are updated through the MB0A ,,
    DGESV DMAEX DMAKT DMAPE
    DMARM DMEAN DMKAL DMLAN
    DPROW DQMAT DUNGV MARA
    MARC MARD MBEW MFHM
    MLGN MLGT MPGD MPOP MVKE,
    MCHA, MCHB, MCHD.
    Regards,
    Bharani

  • How do I update my ipod touch with my  new email address for my  itunes account?

    How do I update my ipod touch with my new email address for my itunes account?  I recently changed my email address and updated it on my itunes account but now my ipod keeps asking me for the password associated with my old email address.

    I did this and I still get a error message about either the
    password or the email account is incorrect!

  • Dear Customer Service Team,  I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I

    Dear Customer Service Team,
    I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I can not find it and now I only have access to the trial version.
    Thank you for your help in advance.
    Kind Regards,
    G. Zsolt

    There is no serial number require for Creative Cloud products, you may activate the products using your email address and password which is associated with Adobe. If your Dreamweaver asking for serial number, then make sure you are signing in with correct email address.
    You may also refer below link
    Sign in, activation, or connection errors | CS5.5 and later

  • HT1338 How do I update my macbook pro with 2.33 GHz Intel Core 2 Duo processors from OSX 10.5.8 to 10.7?

    How do I update my macbook pro with 2.33 GHz Intel Core 2 Duo processors from OSX 10.5.8 to 10.7?

    Firefox 16.0.2 was the last to work on the old Mac OSX 10.5.x as Firefox 17.0 to current has required OSX 10.6+
    https://www.mozilla.org/en-US/firefox/16.0/system-requirements/
    https://www.mozilla.org/en-US/firefox/17.0/system-requirements/

  • How does one update Std Table EDIPHONE(there is no Table Maintainance)?

    How does one update Std Table EDIPHONE(there is no Table Maintainance)?
    Regards,
    Shashank.

    You should not update the standard database table directly.
    through the partner profile tcode: WE20 you can update the table EDIPHONE.
    u can choose required partner profile in the WE20, select the tab 'Telephony', and update the data, the table EDIPHONE will get updated.
    if you want to maintain this edi phone data for a particular message type/s then select inbound/output parameters and double clikc on it, go to last tab in teh screen 'Telephony',  and updated the required data.

  • How to change SelectionColor in TLFTextFielfd created with new TLFTextField(); syntax?

    How to change SelectionColor in TLFTextFielfd created with var txtTest:TLFTextFielfd = new TLFTextFielfd(); syntax ?

    You have posted in the AS1/2 forum.  If you are using a TLFTextField, it can only be used with AS3.  You might need to repost in the AS3 forum if you truly intend to use the TLFTextField.  As far as I can see there is no SelectionColor (or selectionColor) property for the TLFTextField.
    Also, in every instance of the word you have mis-spelled it...
    "TLFTextFielfd" should be "TLFTextField"

  • How could i update my iphon 4 s

    sir plz tell me how could i update my i phon software using wifi

    Assuming you have WiFi which is connected to the Internet. Got to Settings > General > Software.

  • How could i activate my Ipad 3 with a forgotten icloud account?

    How could i activate my Ipad 3 with a forgotten icloud account?I tried recovering my password but I could not also remember the informations i used when icreated the icloud account. Any help please...

    Go to http://www.apple.com/support/appleid/ and follow the links for forgotten Apple ID and password.

  • How can I update my iPhone 4 with out all my pictures or music erasing ?

    How can I update my iPhone 4 with out all my pictures or music erasing ?

    All of your music and pics should be on your computer.
    If they are not, then put them there.

  • How can I update my iphone 4 with IOS 7 ??

    How can I update my iphone 4 with IOS 7 ??

    iOS 7 will be available this fall: http://www.apple.com/ios/ios7/

Maybe you are looking for

  • Bought my imac after lion update came out, would update be free?

    bought my imac after lion update came out, would update be free?

  • Shared Mailbox with Multiple Shared Calendars

    We have a shared mailbox (Exchange 2010) for a department and they have created 30+ calendars that they would like other users to have access to. I've tried giving access to the calendars folder with powershell giving the users reviewer access which

  • Can any body plz tell me the solution for IDOC Import

    When iam trying to import the IDOC --> PREQCR.PREQCR02 to my imported objects in Integration Repository by using Application Server, system number and user name and password, the following error iam getting.                                           

  • Strange UUIDs

    I'm looking at the Server Admin Tool on My Snow Leopard server.  In the Services tab of the Access page I'm seeing a big stack of UUIDs that I hadn't noticeed before (see the attached screen capture).  I'm wondering how these got there and what they'

  • Can I view a live Numbers doc using an iFrame on my squarespace site?

    can I view a live Numbers doc using an IFrame on my squarespace site? This is the link: <iframe src="https://www.icloud.com/iw/#numbers/BALkvd4A5ZeoZ6EgvGeBpvA9G_uY0kx0k0-F/Aaron_Gh irardelli_copy" width="100%" height="1000px" frameborder="no" scroll