Click here to Skip to main content
15,887,349 members
Home / Discussions / Database
   

Database

 
Questionhow to install sqsh on Windows after cygwin installed? Pin
devvvy8-Jan-08 20:48
devvvy8-Jan-08 20:48 
QuestionOracle error Pin
this is pumpkin8-Jan-08 10:17
this is pumpkin8-Jan-08 10:17 
GeneralRe: Oracle error Pin
Paul Conrad13-Jan-08 7:12
professionalPaul Conrad13-Jan-08 7:12 
Generalquick newline question for a noob Pin
likefood8-Jan-08 10:13
likefood8-Jan-08 10:13 
GeneralRe: quick newline question for a noob Pin
likefood8-Jan-08 15:53
likefood8-Jan-08 15:53 
GeneralRe: quick newline question for a noob Pin
likefood8-Jan-08 18:09
likefood8-Jan-08 18:09 
QuestionHow to Create the Following Procedure Pin
Vimalsoft(Pty) Ltd8-Jan-08 6:59
professionalVimalsoft(Pty) Ltd8-Jan-08 6:59 
AnswerRe: How to Create the Following Procedure Pin
Vimalsoft(Pty) Ltd8-Jan-08 8:47
professionalVimalsoft(Pty) Ltd8-Jan-08 8:47 
hi All

while looking for Answers , i came across this and it seemed to work if i test the Procudure,

Create Procedure sp_Lock_Select
(
@Lis_key varchar(34) 
)
as 

if Exists(
SELECT Primary_ID, Boundary_area, Attrib_Code, Lis_Key, Func_Key, Actual_Extent, 
Improved_Value, Site_Value, Purchase_price, Purchase_date, prop_id, 
confidence_score, fin_ls_prediction, new_lis_key, new_func_key,
 Tshwane_Prediction, matchflag, source, flagtype, 
Locked FROM Property_mass WHERE (SUBSTRING(Lis_Key, 1, 4) = @Lis_key) 
AND (Locked IS NULL)
)
Update Property_Mass
set Locked = 1
WHERE (SUBSTRING(Lis_Key, 1, 4) = @Lis_key And Locked IS NULL) 


Am using the same searching Criteria of searching, because it will look for the same records that it had been found and update them.

Thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


GeneralRe: How to Create the Following Procedure Pin
Vimalsoft(Pty) Ltd8-Jan-08 9:28
professionalVimalsoft(Pty) Ltd8-Jan-08 9:28 
Questionhow to write a stored procedure that it holds multiple rows Pin
jagan1238-Jan-08 2:31
jagan1238-Jan-08 2:31 
AnswerRe: how to write a stored procedure that it holds multiple rows Pin
pmarfleet8-Jan-08 2:40
pmarfleet8-Jan-08 2:40 
Generalcopy of sql server database Pin
eyeseetee8-Jan-08 0:50
eyeseetee8-Jan-08 0:50 
AnswerRe: copy of sql server database Pin
Arjan Einbu8-Jan-08 2:29
Arjan Einbu8-Jan-08 2:29 
GeneralRe: copy of sql server database Pin
veereshIndia13-Jan-08 20:05
veereshIndia13-Jan-08 20:05 
GeneralRe: copy of sql server database Pin
veereshIndia13-Jan-08 20:30
veereshIndia13-Jan-08 20:30 
QuestionSQL Profiler for Sybase? Pin
devvvy7-Jan-08 23:29
devvvy7-Jan-08 23:29 
QuestionHow do I enumerate tables in a given database? Pin
devvvy7-Jan-08 18:57
devvvy7-Jan-08 18:57 
AnswerRe: How do I enumerate tables in a given database? Pin
Giorgi Dalakishvili7-Jan-08 19:23
mentorGiorgi Dalakishvili7-Jan-08 19:23 
QuestionLINQ and InsertOnSubmit Pin
TerryHam7-Jan-08 18:01
TerryHam7-Jan-08 18:01 
GeneralOptimizing Query - Order by inner joined value Pin
gnjunge7-Jan-08 4:09
gnjunge7-Jan-08 4:09 
GeneralRe: Optimizing Query - Order by inner joined value Pin
Michael Potter7-Jan-08 10:11
Michael Potter7-Jan-08 10:11 
GeneralRe: Optimizing Query - Order by inner joined value Pin
gnjunge7-Jan-08 20:46
gnjunge7-Jan-08 20:46 
GeneralRe: Optimizing Query - Order by inner joined value Pin
andyharman8-Jan-08 0:25
professionalandyharman8-Jan-08 0:25 
GeneralRe: Optimizing Query - Order by inner joined value Pin
gnjunge8-Jan-08 1:59
gnjunge8-Jan-08 1:59 
GeneralRe: Optimizing Query - Order by inner joined value Pin
andyharman8-Jan-08 6:24
professionalandyharman8-Jan-08 6:24 

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.