Click here to Skip to main content
15,905,508 members
Home / Discussions / Database
   

Database

 
GeneralCursor Error Pin
Anonymous4-Aug-03 7:22
Anonymous4-Aug-03 7:22 
QuestionClose the connection? Pin
Anonymous4-Aug-03 2:58
Anonymous4-Aug-03 2:58 
AnswerRe: Close the connection? Pin
Rob Graham4-Aug-03 4:02
Rob Graham4-Aug-03 4:02 
GeneralRe: Close the connection? Pin
Anonymous4-Aug-03 5:10
Anonymous4-Aug-03 5:10 
AnswerRe: Close the connection? Pin
Rocky Moore4-Aug-03 4:02
Rocky Moore4-Aug-03 4:02 
GeneralDynamic where Clause Pin
dabuskol4-Aug-03 0:46
dabuskol4-Aug-03 0:46 
GeneralRe: Dynamic where Clause Pin
Rocky Moore4-Aug-03 4:35
Rocky Moore4-Aug-03 4:35 
GeneralRe: Dynamic where Clause Pin
Peet Schultz5-Aug-03 5:57
Peet Schultz5-Aug-03 5:57 
Hi There

Looks like you will have to revert to Dynamic sql. Build up the statement as required and then excecute.
This is normally a bit slower than straight sql but should be able to do the trick.


Regards

Peet Schultz

USE [PUBS]

DECLARE @LAST_NAME NVARCHAR(100)
DECLARE @SQL NVARCHAR(1000)

SET @LAST_NAME = '(''White'',''Green'')'

SET @SQL = 'SELECT * FROM AUTHORS WHERE [AU_LNAME] IN' + @LAST_NAME

EXEC (@SQL)
GeneralRe: Dynamic where Clause Pin
dabuskol5-Aug-03 18:27
dabuskol5-Aug-03 18:27 
Generalmozooo Pin
Anonymous3-Aug-03 22:36
Anonymous3-Aug-03 22:36 
GeneralRe: mozooo Pin
Anonymous3-Aug-03 22:38
Anonymous3-Aug-03 22:38 
GeneraloledbCommand Pin
betengan3-Aug-03 15:13
betengan3-Aug-03 15:13 
GeneralRe: oledbCommand Pin
neda3-Aug-03 22:33
neda3-Aug-03 22:33 
GeneralRe: oledbCommand Pin
K4reem5-Aug-03 3:59
K4reem5-Aug-03 3:59 
GeneralUpdateCommand with Parameter Pin
Anonymous3-Aug-03 8:42
Anonymous3-Aug-03 8:42 
GeneralRe: UpdateCommand with Parameter Pin
ChiYung3-Aug-03 9:13
ChiYung3-Aug-03 9:13 
GeneralRe: UpdateCommand with Parameter Pin
Arjan Einbu3-Aug-03 12:06
Arjan Einbu3-Aug-03 12:06 
GeneralRe: UpdateCommand with Parameter Pin
Anonymous3-Aug-03 12:21
Anonymous3-Aug-03 12:21 
GeneralRe: UpdateCommand with Parameter Pin
Anonymous3-Aug-03 13:33
Anonymous3-Aug-03 13:33 
QuestionHow to create "inheritance" relationship in Ms Access? Pin
ChiYung3-Aug-03 8:34
ChiYung3-Aug-03 8:34 
AnswerRe: How to create "inheritance" relationship in Ms Access? Pin
Ray Cassick3-Aug-03 9:40
Ray Cassick3-Aug-03 9:40 
GeneralRe: How to create "inheritance" relationship in Ms Access? Pin
ChiYung3-Aug-03 9:47
ChiYung3-Aug-03 9:47 
GeneralRe: How to create "inheritance" relationship in Ms Access? Pin
Ray Cassick3-Aug-03 9:55
Ray Cassick3-Aug-03 9:55 
GeneralRe: How to create "inheritance" relationship in Ms Access? Pin
ChiYung4-Aug-03 8:34
ChiYung4-Aug-03 8:34 
GeneralRe: How to create "inheritance" relationship in Ms Access? Pin
Ray Cassick4-Aug-03 18:01
Ray Cassick4-Aug-03 18:01 

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.