Click here to Skip to main content
15,899,026 members
Home / Discussions / Database
   

Database

 
AnswerRe: how to change a color of particular word in the row in ssrs reports Pin
Wendelius19-Feb-11 1:17
mentorWendelius19-Feb-11 1:17 
QuestionSQL Express Redistribution Pin
εїзεїзεїз18-Feb-11 22:00
εїзεїзεїз18-Feb-11 22:00 
AnswerRe: SQL Express Redistribution Pin
Wendelius18-Feb-11 22:15
mentorWendelius18-Feb-11 22:15 
GeneralRe: SQL Express Redistribution Pin
εїзεїзεїз19-Feb-11 18:29
εїзεїзεїз19-Feb-11 18:29 
GeneralRe: SQL Express Redistribution Pin
Wendelius20-Feb-11 7:05
mentorWendelius20-Feb-11 7:05 
AnswerRe: SQL Express Redistribution Pin
PIEBALDconsult19-Feb-11 5:24
mvePIEBALDconsult19-Feb-11 5:24 
GeneralRe: SQL Express Redistribution Pin
Wendelius19-Feb-11 6:58
mentorWendelius19-Feb-11 6:58 
GeneralRe: SQL Express Redistribution Pin
εїзεїзεїз19-Feb-11 18:29
εїзεїзεїз19-Feb-11 18:29 
GeneralRe: SQL Express Redistribution Pin
εїзεїзεїз19-Feb-11 18:30
εїзεїзεїз19-Feb-11 18:30 
QuestionInsert Record into Access Pin
Brad Fackrell18-Feb-11 4:52
Brad Fackrell18-Feb-11 4:52 
AnswerRe: Insert Record into Access Pin
Luc Pattyn18-Feb-11 5:23
sitebuilderLuc Pattyn18-Feb-11 5:23 
GeneralRe: Insert Record into Access Pin
Brad Fackrell18-Feb-11 5:41
Brad Fackrell18-Feb-11 5:41 
GeneralRe: Insert Record into Access Pin
Wendelius18-Feb-11 5:42
mentorWendelius18-Feb-11 5:42 
AnswerRe: Insert Record into Access Pin
Wendelius18-Feb-11 5:26
mentorWendelius18-Feb-11 5:26 
GeneralRe: Insert Record into Access Pin
Brad Fackrell18-Feb-11 5:45
Brad Fackrell18-Feb-11 5:45 
QuestionHi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure [modified] Pin
Thabo@Codeproject18-Feb-11 4:52
Thabo@Codeproject18-Feb-11 4:52 
AnswerRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Wendelius18-Feb-11 5:21
mentorWendelius18-Feb-11 5:21 
GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Thabo@Codeproject18-Feb-11 5:54
Thabo@Codeproject18-Feb-11 5:54 
GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Wendelius18-Feb-11 6:22
mentorWendelius18-Feb-11 6:22 
GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Thabo@Codeproject23-Feb-11 9:02
Thabo@Codeproject23-Feb-11 9:02 
GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Wendelius24-Feb-11 10:43
mentorWendelius24-Feb-11 10:43 
GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Thabo@Codeproject9-Mar-11 9:13
Thabo@Codeproject9-Mar-11 9:13 
Hi thank u very much....
I made a simple mistake...
i re wrote the coding as this
set QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Thabo
-- Create date: 18.02.2011
-- Description:	TEST XML
-- =============================================
CREATE PROCEDURE [dbo].[sppassingStoredProcedue]
AS
DECLARE @x XML 
BEGIN

	SET NOCOUNT ON;
	SET @x=(SELECT PramryKeyForThisTable,AutoNumberColumn,Data1,Data2,Data3 FROM tblInsertTableForAutoNumber FOR XML AUTO,ROOT('MYROOT'))

INSERT INTO CopyOftblInserTableForAutonumber 
SELECT
	R.Tab.value('@PramryKeyForThisTable [1]','SMALLINT') AS PramryKeyForThisTable,
	R.Tab.value('@AutoNumberColumn [1]','SMALLINT')AS AutoNumberColumn,
	R.Tab.value('@Data1 [1]','VARCHAR(50)') AS Data1,
	R.Tab.value('@Data2 [1]','VARCHAR(50)') AS Data2,
	R.Tab.value('@Data3 [1]','VARCHAR(50)') AS Data3
FROM @x.nodes('//MYROOT/tblInsertTableForAutoNumber')AS R(Tab)
	
	
END 


The mistake which i made before is ,the colum name which is in XQUERY was not same as in select statement.Now All are Working fine Big Grin | :-D
Thank you agin for your help.I am a new person to Codeproject.But i got great response !!!!Thank you .Now i am always using code project Wink | ;)
Thabo

GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Wendelius9-Mar-11 11:25
mentorWendelius9-Mar-11 11:25 
AnswerRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Luc Pattyn18-Feb-11 5:24
sitebuilderLuc Pattyn18-Feb-11 5:24 
GeneralRe: Hi everyone i am a new comer for this forum ,I have a small problem with format the xml to a table in SQL SERVER stored procedure Pin
Thabo@Codeproject18-Feb-11 5:39
Thabo@Codeproject18-Feb-11 5:39 

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.