Click here to Skip to main content
15,892,537 members
Home / Discussions / Database
   

Database

 
GeneralcommandString Problem Pin
Anonymous11-May-04 12:52
Anonymous11-May-04 12:52 
GeneralRe: commandString Problem Pin
Edbert P11-May-04 16:49
Edbert P11-May-04 16:49 
GeneralRe: commandString Problem Pin
Aryadip12-May-04 0:09
Aryadip12-May-04 0:09 
GeneralADO UPDATE Problem Pin
petesfish11-May-04 12:31
petesfish11-May-04 12:31 
GeneralRe: ADO UPDATE Problem Pin
WoutL11-May-04 22:56
WoutL11-May-04 22:56 
GeneralRe: ADO UPDATE Problem Pin
petesfish12-May-04 6:27
petesfish12-May-04 6:27 
QuestionHow to get transformation result in DTS Pin
KSEI11-May-04 0:27
KSEI11-May-04 0:27 
Questioncan this query be optimized Pin
22491711-May-04 0:17
22491711-May-04 0:17 
i was some how able to get a resultset wanted by my boss. But can this query be optimized further.
<br />
DECLARE @name nvarchar(50)<br />
<br />
DECLARE cur_name CURSOR FOR<br />
SELECT url <br />
FROM urltable<br />
<br />
OPEN cur_url<br />
FETCH NEXT FROM cur_name INTO @name<br />
<br />
WHILE @@FETCH_STATUS = 0<br />
BEGIN <br />
select name from mytable where name like '%' + @name+ '%'<br />
<br />
FETCH NEXT FROM cur_name INTO @name<br />
END<br />
CLOSE cur_name <br />
DEALLOCATE cur_name 







It's not a bug, it's an undocumented feature.
suhredayan@omniquad.com


messenger :suhredayan@hotmail.com

AnswerRe: can this query be optimized Pin
WoutL11-May-04 23:07
WoutL11-May-04 23:07 
GeneralRe: can this query be optimized Pin
22491713-May-04 0:10
22491713-May-04 0:10 
GeneralRe: can this query be optimized Pin
WoutL13-May-04 0:24
WoutL13-May-04 0:24 
GeneralInsert Data into A table Pin
bighi10-May-04 23:27
bighi10-May-04 23:27 
GeneralRe: Insert Data into A table Pin
Edbert P11-May-04 16:50
Edbert P11-May-04 16:50 
GeneralRe: Insert Data into A table Pin
bighi12-May-04 8:36
bighi12-May-04 8:36 
Generalproblem with scope_identity using cmd.Parameters Pin
brunoskorepa10-May-04 22:44
brunoskorepa10-May-04 22:44 
GeneralRe: problem with scope_identity using cmd.Parameters Pin
Edbert P11-May-04 16:53
Edbert P11-May-04 16:53 
GeneralRe: problem with scope_identity using cmd.Parameters Pin
brunoskorepa11-May-04 19:44
brunoskorepa11-May-04 19:44 
GeneralRe: problem with scope_identity using cmd.Parameters Pin
Rob Graham13-May-04 3:48
Rob Graham13-May-04 3:48 
GeneralRe: problem with scope_identity using cmd.Parameters Pin
brunoskorepa13-May-04 7:58
brunoskorepa13-May-04 7:58 
GeneralsqlDataReader is Busy Fetching.... Pin
-Dr_X-8-May-04 15:44
-Dr_X-8-May-04 15:44 
GeneralRe: sqlDataReader is Busy Fetching.... Pin
Aryadip12-May-04 20:47
Aryadip12-May-04 20:47 
GeneralRe: sqlDataReader is Busy Fetching.... Pin
Rob Graham13-May-04 3:52
Rob Graham13-May-04 3:52 
GeneralResolution: sqlDataReader is Busy Fetching.... Pin
-Dr_X-13-May-04 11:22
-Dr_X-13-May-04 11:22 
GeneralSQL query for Date field Pin
Imtiaz Murtaza7-May-04 23:46
Imtiaz Murtaza7-May-04 23:46 
GeneralRe: SQL query for Date field Pin
Henrik Stuart8-May-04 0:39
Henrik Stuart8-May-04 0: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.