Click here to Skip to main content
15,921,989 members
Home / Discussions / Database
   

Database

 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Wendelius11-Nov-08 5:42
mentorWendelius11-Nov-08 5:42 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Ashfield11-Nov-08 9:06
Ashfield11-Nov-08 9:06 
JokeRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Wendelius11-Nov-08 10:06
mentorWendelius11-Nov-08 10:06 
QuestionDesign Help for Distributed Database System Pin
Saiyed Alam10-Nov-08 19:53
Saiyed Alam10-Nov-08 19:53 
QuestionData import Pin
postonoh10-Nov-08 9:36
postonoh10-Nov-08 9:36 
AnswerRe: Data import Pin
Mycroft Holmes11-Nov-08 1:20
professionalMycroft Holmes11-Nov-08 1:20 
GeneralRe: Data import Pin
postonoh19-Nov-08 10:27
postonoh19-Nov-08 10:27 
QuestionAppend the records to existing sp table Pin
soniasan10-Nov-08 6:49
soniasan10-Nov-08 6:49 
Hi to all,

In My SP i created this table

DECLARE @inc_table TABLE(ID INT identity(1,1),ModelName VARCHAR(20),Region VARCHAR(20),Tot VARCHAR)
BEGIN
INSERT INTO @inc_table (ModelName)
SELECT ModelName FROM SRO_ModelMaster
END

NOw my table is fill with all modelname say,

1 PPM
2 CCP
3 MMM

NOw in same table i want to add
RegionCode using following statment
INSERT INTO @inc_table (Region)
(SELECT RegionCode FROM cmp_RegionMaster WHERE regionCode<>'TR' )

but it is inserting at the 4,5,6, id levelI want to append it to
on same id that is 1,2,3

so that it gives me
1 PPM ER
2 CCP NR
3 MMM SR

How i can achive this in my sp
Thanks for all for yours kind suggestions.
AnswerRe: Append the records to existing sp table Pin
Wendelius10-Nov-08 7:14
mentorWendelius10-Nov-08 7:14 
Question.Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
TheIdleProgrammer10-Nov-08 0:17
TheIdleProgrammer10-Nov-08 0:17 
AnswerRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
Wendelius10-Nov-08 5:25
mentorWendelius10-Nov-08 5:25 
GeneralRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
TheIdleProgrammer10-Nov-08 21:14
TheIdleProgrammer10-Nov-08 21:14 
GeneralRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
Wendelius11-Nov-08 8:15
mentorWendelius11-Nov-08 8:15 
GeneralRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
TheIdleProgrammer11-Nov-08 21:25
TheIdleProgrammer11-Nov-08 21:25 
GeneralRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
Wendelius13-Nov-08 10:36
mentorWendelius13-Nov-08 10:36 
QuestionSQL Trigger to get updated cell Pin
Indra PR10-Nov-08 0:05
Indra PR10-Nov-08 0:05 
AnswerRe: SQL Trigger to get updated cell Pin
Wendelius10-Nov-08 4:44
mentorWendelius10-Nov-08 4:44 
QuestionA transport-level error has occurred when sending the request to the server. Pin
Nitin J. Jain9-Nov-08 23:30
professionalNitin J. Jain9-Nov-08 23:30 
AnswerRe: A transport-level error has occurred when sending the request to the server. Pin
Ennis Ray Lynch, Jr.10-Nov-08 3:33
Ennis Ray Lynch, Jr.10-Nov-08 3:33 
QuestionSql Statment ProbLem Pin
soniasan9-Nov-08 23:25
soniasan9-Nov-08 23:25 
AnswerRe: Sql Statment ProbLem Pin
Wendelius10-Nov-08 4:32
mentorWendelius10-Nov-08 4:32 
QuestionDatetime datatype conversion failed in sqlserver 2008 Pin
param_joshi9-Nov-08 21:48
param_joshi9-Nov-08 21:48 
AnswerRe: Datetime datatype conversion failed in sqlserver 2008 Pin
param_joshi9-Nov-08 23:51
param_joshi9-Nov-08 23:51 
GeneralRe: Datetime datatype conversion failed in sqlserver 2008 Pin
Wendelius10-Nov-08 5:43
mentorWendelius10-Nov-08 5:43 
Question[Message Deleted] Pin
B879-Nov-08 19:58
B879-Nov-08 19:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.