Hi,
I want to eliminate duplicate entries from different tables into a single
new table and keep the reference from the original data.
Example:
Table1: toto, titi
Table2: toto, titi, tutu
Table3: tutu, tata
the new table will contain:
NewTable: toto, titi, tutu, tata
and i want to keep a reference that allows to retrieve that toto comes from
Table1 and Table2
tutu comes from Table2 and Table3...
if someone can help me it would be great.
Thanks.
Beter than a single new table, You can make a View
UNION will eliminate duplicate data.
SELECT Field FROM Table1
UNION
SELECT Field FROM Table2
UNION
SELECT Field FROM Table3
To know where 'toto' come from:
SELECT TableName FROM
(
SELECT 'Table1' AS TableName, Field FROM Table1
UNION
SELECT 'Table2' AS TableName, Field FROM Table2
UNION
SELECT 'Table3' AS TableName, Field FROM Table3
) Tmp
WHERE Field='toto'
Laurent.
<Christophe> wrote in message news:OVqTbQGLEHA.1192@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I want to eliminate duplicate entries from different tables into a single
> new table and keep the reference from the original data.
> Example:
> Table1: toto, titi
> Table2: toto, titi, tutu
> Table3: tutu, tata
> the new table will contain:
> NewTable: toto, titi, tutu, tata
> and i want to keep a reference that allows to retrieve that toto comes
from
> Table1 and Table2
> tutu comes from Table2 and Table3...
> if someone can help me it would be great.
> Thanks.
>
Showing posts with label original. Show all posts
Showing posts with label original. Show all posts
Friday, February 24, 2012
Eliminate duplicate data
Hi,
I want to eliminate duplicate entries from different tables into a single
new table and keep the reference from the original data.
Example:
Table1: toto, titi
Table2: toto, titi, tutu
Table3: tutu, tata
the new table will contain:
NewTable: toto, titi, tutu, tata
and i want to keep a reference that allows to retrieve that toto comes from
Table1 and Table2
tutu comes from Table2 and Table3...
if someone can help me it would be great.
Thanks.Beter than a single new table, You can make a View
UNION will eliminate duplicate data.
SELECT Field FROM Table1
UNION
SELECT Field FROM Table2
UNION
SELECT Field FROM Table3
To know where 'toto' come from:
SELECT TableName FROM
(
SELECT 'Table1' AS TableName, Field FROM Table1
UNION
SELECT 'Table2' AS TableName, Field FROM Table2
UNION
SELECT 'Table3' AS TableName, Field FROM Table3
) Tmp
WHERE Field='toto'
Laurent.
<Christophe> wrote in message news:OVqTbQGLEHA.1192@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I want to eliminate duplicate entries from different tables into a single
> new table and keep the reference from the original data.
> Example:
> Table1: toto, titi
> Table2: toto, titi, tutu
> Table3: tutu, tata
> the new table will contain:
> NewTable: toto, titi, tutu, tata
> and i want to keep a reference that allows to retrieve that toto comes
from
> Table1 and Table2
> tutu comes from Table2 and Table3...
> if someone can help me it would be great.
> Thanks.
>
I want to eliminate duplicate entries from different tables into a single
new table and keep the reference from the original data.
Example:
Table1: toto, titi
Table2: toto, titi, tutu
Table3: tutu, tata
the new table will contain:
NewTable: toto, titi, tutu, tata
and i want to keep a reference that allows to retrieve that toto comes from
Table1 and Table2
tutu comes from Table2 and Table3...
if someone can help me it would be great.
Thanks.Beter than a single new table, You can make a View
UNION will eliminate duplicate data.
SELECT Field FROM Table1
UNION
SELECT Field FROM Table2
UNION
SELECT Field FROM Table3
To know where 'toto' come from:
SELECT TableName FROM
(
SELECT 'Table1' AS TableName, Field FROM Table1
UNION
SELECT 'Table2' AS TableName, Field FROM Table2
UNION
SELECT 'Table3' AS TableName, Field FROM Table3
) Tmp
WHERE Field='toto'
Laurent.
<Christophe> wrote in message news:OVqTbQGLEHA.1192@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I want to eliminate duplicate entries from different tables into a single
> new table and keep the reference from the original data.
> Example:
> Table1: toto, titi
> Table2: toto, titi, tutu
> Table3: tutu, tata
> the new table will contain:
> NewTable: toto, titi, tutu, tata
> and i want to keep a reference that allows to retrieve that toto comes
from
> Table1 and Table2
> tutu comes from Table2 and Table3...
> if someone can help me it would be great.
> Thanks.
>
Eliminate duplicate data
Hi,
I want to eliminate duplicate entries from different tables into a single
new table and keep the reference from the original data.
Example:
Table1: toto, titi
Table2: toto, titi, tutu
Table3: tutu, tata
the new table will contain:
NewTable: toto, titi, tutu, tata
and i want to keep a reference that allows to retrieve that toto comes from
Table1 and Table2
tutu comes from Table2 and Table3...
if someone can help me it would be great.
Thanks.Beter than a single new table, You can make a View
UNION will eliminate duplicate data.
SELECT Field FROM Table1
UNION
SELECT Field FROM Table2
UNION
SELECT Field FROM Table3
To know where 'toto' come from:
SELECT TableName FROM
(
SELECT 'Table1' AS TableName, Field FROM Table1
UNION
SELECT 'Table2' AS TableName, Field FROM Table2
UNION
SELECT 'Table3' AS TableName, Field FROM Table3
) Tmp
WHERE Field='toto'
Laurent.
<Christophe> wrote in message news:OVqTbQGLEHA.1192@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I want to eliminate duplicate entries from different tables into a single
> new table and keep the reference from the original data.
> Example:
> Table1: toto, titi
> Table2: toto, titi, tutu
> Table3: tutu, tata
> the new table will contain:
> NewTable: toto, titi, tutu, tata
> and i want to keep a reference that allows to retrieve that toto comes
from
> Table1 and Table2
> tutu comes from Table2 and Table3...
> if someone can help me it would be great.
> Thanks.
>
I want to eliminate duplicate entries from different tables into a single
new table and keep the reference from the original data.
Example:
Table1: toto, titi
Table2: toto, titi, tutu
Table3: tutu, tata
the new table will contain:
NewTable: toto, titi, tutu, tata
and i want to keep a reference that allows to retrieve that toto comes from
Table1 and Table2
tutu comes from Table2 and Table3...
if someone can help me it would be great.
Thanks.Beter than a single new table, You can make a View
UNION will eliminate duplicate data.
SELECT Field FROM Table1
UNION
SELECT Field FROM Table2
UNION
SELECT Field FROM Table3
To know where 'toto' come from:
SELECT TableName FROM
(
SELECT 'Table1' AS TableName, Field FROM Table1
UNION
SELECT 'Table2' AS TableName, Field FROM Table2
UNION
SELECT 'Table3' AS TableName, Field FROM Table3
) Tmp
WHERE Field='toto'
Laurent.
<Christophe> wrote in message news:OVqTbQGLEHA.1192@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I want to eliminate duplicate entries from different tables into a single
> new table and keep the reference from the original data.
> Example:
> Table1: toto, titi
> Table2: toto, titi, tutu
> Table3: tutu, tata
> the new table will contain:
> NewTable: toto, titi, tutu, tata
> and i want to keep a reference that allows to retrieve that toto comes
from
> Table1 and Table2
> tutu comes from Table2 and Table3...
> if someone can help me it would be great.
> Thanks.
>
Wednesday, February 15, 2012
Editing Roles in 2005 - receiving internal error
I am not sure of the Restored part of your question? Could you elaborate more on what you were upgrading and how you did it?
--Original Message--
From: clutch@.discussions.microsoft.com
Posted At: Monday, November 21, 2005 8:54 AM
Posted To: microsoft.public.sqlserver.reportingsvcs
Conversation: Editing Roles in 2005 - receiving internal error
Subject: Editing Roles in 2005 - receiving internal error
Hi,
We are testing Reporting Service's 2005. We are having issues with adding
tasks to the content manager. We have restored our 2000 RS to 2005. We
receiving the folling error when trying to add the Manage Models to the
Content Manager. An internal error occurred on the report server. See the
error log for more details. (rsInternalError) Get Online Help For more
information about this error navigate to the report server on the local
server machine, or enable remote errors
Any help is greatly appreciated.Yes I can. We backed up our 2000 RS db's and restored them on the 2005 box.
Then, using the config. tool, upgraded them. All directories show up and
reports work fine. It's just that the Content Manager role doesn't have each
of the tasks checked, such as Consume reports and Manage models. So I tried
to assign them and I get the internal error.
I did create fresh db's from scratch and all tasks are assigned to the
Content Manager. I would think we should be able to transition from 2000 to
2005 and have full functionality. I'm assuming I'm doing something wrong.
Thanks for your help!
"Brad Syputa - MS" wrote:
> I am not sure of the Restored part of your question? Could you elaborate more on what you were upgrading and how you did it?
>
> --Original Message--
> From: clutch@.discussions.microsoft.com
> Posted At: Monday, November 21, 2005 8:54 AM
> Posted To: microsoft.public.sqlserver.reportingsvcs
> Conversation: Editing Roles in 2005 - receiving internal error
> Subject: Editing Roles in 2005 - receiving internal error
>
> Hi,
> We are testing Reporting Service's 2005. We are having issues with adding
> tasks to the content manager. We have restored our 2000 RS to 2005. We
> receiving the folling error when trying to add the Manage Models to the
> Content Manager. An internal error occurred on the report server. See the
> error log for more details. (rsInternalError) Get Online Help For more
> information about this error navigate to the report server on the local
> server machine, or enable remote errors
> Any help is greatly appreciated.
>
--Original Message--
From: clutch@.discussions.microsoft.com
Posted At: Monday, November 21, 2005 8:54 AM
Posted To: microsoft.public.sqlserver.reportingsvcs
Conversation: Editing Roles in 2005 - receiving internal error
Subject: Editing Roles in 2005 - receiving internal error
Hi,
We are testing Reporting Service's 2005. We are having issues with adding
tasks to the content manager. We have restored our 2000 RS to 2005. We
receiving the folling error when trying to add the Manage Models to the
Content Manager. An internal error occurred on the report server. See the
error log for more details. (rsInternalError) Get Online Help For more
information about this error navigate to the report server on the local
server machine, or enable remote errors
Any help is greatly appreciated.Yes I can. We backed up our 2000 RS db's and restored them on the 2005 box.
Then, using the config. tool, upgraded them. All directories show up and
reports work fine. It's just that the Content Manager role doesn't have each
of the tasks checked, such as Consume reports and Manage models. So I tried
to assign them and I get the internal error.
I did create fresh db's from scratch and all tasks are assigned to the
Content Manager. I would think we should be able to transition from 2000 to
2005 and have full functionality. I'm assuming I'm doing something wrong.
Thanks for your help!
"Brad Syputa - MS" wrote:
> I am not sure of the Restored part of your question? Could you elaborate more on what you were upgrading and how you did it?
>
> --Original Message--
> From: clutch@.discussions.microsoft.com
> Posted At: Monday, November 21, 2005 8:54 AM
> Posted To: microsoft.public.sqlserver.reportingsvcs
> Conversation: Editing Roles in 2005 - receiving internal error
> Subject: Editing Roles in 2005 - receiving internal error
>
> Hi,
> We are testing Reporting Service's 2005. We are having issues with adding
> tasks to the content manager. We have restored our 2000 RS to 2005. We
> receiving the folling error when trying to add the Manage Models to the
> Content Manager. An internal error occurred on the report server. See the
> error log for more details. (rsInternalError) Get Online Help For more
> information about this error navigate to the report server on the local
> server machine, or enable remote errors
> Any help is greatly appreciated.
>
Subscribe to:
Posts (Atom)