Click here to Skip to main content
15,915,501 members
Home / Discussions / Database
   

Database

 
GeneralRe: Performance around SQL and C# Pin
Colin Angus Mackay31-May-05 21:52
Colin Angus Mackay31-May-05 21:52 
GeneralRe: Performance around SQL and C# Pin
ouvrard31-May-05 21:55
ouvrard31-May-05 21:55 
GeneralSql access with user control Pin
ShugMagoo31-May-05 12:00
ShugMagoo31-May-05 12:00 
GeneralDatabinding in Master/Detail WinForm Pin
kb4mindia31-May-05 2:20
kb4mindia31-May-05 2:20 
GeneralQ: MsSQL dynamic Search with lot of conditions Pin
Stan Angeloff31-May-05 1:52
Stan Angeloff31-May-05 1:52 
GeneralRe: Q: MsSQL dynamic Search with lot of conditions Pin
Christian Graus31-May-05 12:06
protectorChristian Graus31-May-05 12:06 
GeneralRe: Q: MsSQL dynamic Search with lot of conditions Pin
Stan Angeloff1-Jun-05 7:14
Stan Angeloff1-Jun-05 7:14 
GeneralRe: Q: MsSQL dynamic Search with lot of conditions Pin
Christian Graus1-Jun-05 11:34
protectorChristian Graus1-Jun-05 11:34 
LIKE only works for strings.

This link is one of many I found on OpenXML, which is built into SQL Server 2000, and lets you build a table from an XML document.

http://www.sql-server-performance.com/jb_openxml.asp[^]

Note - if you use OpenXML, you need to have a recent version of IE installed, to get the required XML DOM support. Fun and games.

Stanimir Angeloff wrote:
How should I match the real table with the temporary one?

Just join to it, or match against it's properties. Use select TOP 1 to remind SQL Server that you're selecting a single value ( there is only one row to start with ).

Hopefully that's enough to get you started, let me know if you're stuck. OpenXML is IMO the best way to pass a variable number of parameters to SQL Server, for example if you need to delete an unknown number of rows, or in a situation like this.


Christian Graus - Microsoft MVP - C++
GeneralThank you! Pin
Stan Angeloff2-Jun-05 8:28
Stan Angeloff2-Jun-05 8:28 
GeneralRe: Thank you! Pin
Christian Graus2-Jun-05 10:17
protectorChristian Graus2-Jun-05 10:17 
GeneralRe: Thank you! Pin
Vertyg05-Jun-05 1:53
Vertyg05-Jun-05 1:53 
GeneralRe: Thank you! Pin
Christian Graus5-Jun-05 11:18
protectorChristian Graus5-Jun-05 11:18 
GeneralFunction returning Table (SQL) Pin
LIUCKAS31-May-05 0:28
LIUCKAS31-May-05 0:28 
GeneralExecuting a query Pin
Pothirajan C30-May-05 19:15
Pothirajan C30-May-05 19:15 
GeneralRe: Executing a query Pin
MasudM30-May-05 21:17
MasudM30-May-05 21:17 
GeneralRe: Executing a query Pin
Colin Angus Mackay30-May-05 22:18
Colin Angus Mackay30-May-05 22:18 
GeneralUpdate query Pin
jetset3230-May-05 1:19
jetset3230-May-05 1:19 
GeneralRe: Update query Pin
Christian Graus30-May-05 12:16
protectorChristian Graus30-May-05 12:16 
GeneralRe: Update query Pin
Anonymous2-Jun-05 3:37
Anonymous2-Jun-05 3:37 
GeneralRe: Update query Pin
jetset324-Jun-05 10:49
jetset324-Jun-05 10:49 
GeneralRe: Update query Pin
Christian Graus5-Jun-05 11:17
protectorChristian Graus5-Jun-05 11:17 
GeneralRe: Update query Pin
jetset3217-Jun-05 22:03
jetset3217-Jun-05 22:03 
GeneralRe: Update query Pin
Christian Graus20-Jun-05 13:30
protectorChristian Graus20-Jun-05 13:30 
GeneralRe: Update query Pin
jetset3221-Jun-05 20:16
jetset3221-Jun-05 20:16 
GeneralGet the updated record Pin
Yulianto.29-May-05 21:51
Yulianto.29-May-05 21:51 

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.