![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
The reason why this will be a problem is that I will be use the openxml command within the dynamic sql. I will be using very large XML strings so I am pretty sure that I will have problems concatenating XML strings with dynamic sql statements. |
#4
| |||
| |||
|
|
Lookup the topic sp_ExecuteSQL in SQL Server Books Online. There is an example which explains how to pass & return values from such strings. -- Anith |
#5
| |||
| |||
|
|
am exploring the use of dynamic SQL within a stored procedure and have run in to a problem. |
|
The reason why this will be a problem is that I will be use the openxml command within the dynamic sql. I will be using very large XML strings so I am pretty sure that I will have problems concatenating XML strings with dynamic sql statements. |
#6
| |||
| |||
|
|
am exploring the use of dynamic SQL within a stored procedure and have run in to a problem. As well you should!! This is an awful way to even think of writing code of any kind. Remember coupling, cohesion and all that stuff in your fist Software Engineering course? The reason why this will be a problem is that I will be use the openxml command within the dynamic sql. I will be using very large XML strings so I am pretty sure that I will have problems concatenating XML strings with dynamic sql statements. So you want on-the-fly, mixed, proprietary languages so you can manipulate XML with T-SQL? This whole thing sounds like a pile of kludges, but without better specs we can only guess at a relatioanl solution. |
![]() |
| Thread Tools | |
| Display Modes | |
| |