Viewing 7 posts - 1 through 7 (of 7 total)
Oh itโs just for me as a learner ๐
What I did is follow Keithโs instruction like below:
insert TBL1
select 3, Col2, Col6, Col4, Col5, Col6 -- replace Col3 with Col6
from TBL1
where...
February 6, 2014 at 1:59 pm
Thanks Sean, It worked!.
If you know how to do it then it becomes very simple ๐
Thanks all for the helps
February 6, 2014 at 10:52 am
Thanks for reply
Unfortunately this is our existing table structure โ I canโt change it.
February 4, 2014 at 6:21 pm
Here is my revised request again. Please help
CREATE TABLE [dbo].[MYTABLE]
(
[TND_CD] [smallint] NOT NULL,
[ACCPT_FOR_SLS_FG]
[STR_ID] [int] NOT NULL,
[HIER_ID] [int] NOT NULL,
[LOC_ID] [int]NOT NULL
)
CONSTRAINT [PK_MYTABLE] PRIMARY KEY CLUSTERED
(
[TND_CD] ASC,
[STR_ID] ASC,
[HIER_ID] ASC,
[LOC_ID]...
February 4, 2014 at 1:29 pm
Thaks all for the help.
It's works great! Now can I ask more?
Sorry for not adding them all in once - just try to make it simple for myself ๐
Col1, Col2,...
February 3, 2014 at 5:05 pm
Thanks SteveB.
Actually, I didn't explain it clearly.
We are going to create a link table, but for each location specific tables we need add indetification ID to it. anyway, I have...
June 26, 2008 at 1:05 am
rbarryyoung resolved my issue and Anirban Paul helpped me learning more
Thank you both for the helps
March 24, 2008 at 4:17 pm
Viewing 7 posts - 1 through 7 (of 7 total)