Click here to Skip to main content
15,906,625 members
Home / Discussions / Database
   

Database

 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 12:45
Colin Angus Mackay21-Oct-04 12:45 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:55
david@mindplay.com21-Oct-04 12:55 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 11:52
Colin Angus Mackay21-Oct-04 11:52 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:22
david@mindplay.com21-Oct-04 12:22 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
Colin Angus Mackay21-Oct-04 12:28
Colin Angus Mackay21-Oct-04 12:28 
GeneralRe: Datasets - Totally Stumped - Am I stupid or something? Pin
david@mindplay.com21-Oct-04 12:43
david@mindplay.com21-Oct-04 12:43 
GeneralCheck hardware status Pin
unambiguos20-Oct-04 6:41
unambiguos20-Oct-04 6:41 
Generalproblem with execute storedproc Pin
Anonymous19-Oct-04 23:41
Anonymous19-Oct-04 23:41 
hi, when i execute a procedure in asp, the procedure only make 5 of 8 elements of a bucle, and if i execute this proc in query analizer or with a job the procedure make all perfectly.

Anyone could help me plz?


the procedure is:


CREATE PROCEDURE [guarda_navegacion]

AS

declare @cadena as nvarchar(500)
declare @cadena2 as nvarchar(500)
declare @cadena3 as nvarchar(500)
declare @resultado as nvarchar(1000)
declare @pagina as nvarchar(1000)
declare @npag as int


set @npag=1

declare Cnav cursor local for
select urlpag from navegacion order by urlpag asc
open Cnav
fetch next from Cnav into @pagina

while @@fetch_status=0
begin

if left(@pagina,4)='http'
begin
set @cadena='wget --restrict-file-name=nocontrol "'+@pagina+'" -O "d:\Inetpub\intranetdev\capturaimg\archivos\resultado'
set @cadena2=@cadena+cast(@npag as nvarchar(10))
set @resultado=@cadena2+'.txt"'

exec master..xp_cmdShell @resultado
print @resultado
set @npag=@npag+1
print cast(@npag as nvarchar(10))
end

fetch next from Cnav into @pagina
end


close Cnav
deallocate Cnav

select top 1 * from navegacion


GO

Generalolapcubebrowser Pin
Yulianto.19-Oct-04 19:36
Yulianto.19-Oct-04 19:36 
Generalrestricted data type attribute violation Pin
Tom Wright19-Oct-04 12:09
Tom Wright19-Oct-04 12:09 
GeneralStored Procedure Pin
cooldev19-Oct-04 11:55
cooldev19-Oct-04 11:55 
GeneralRe: Stored Procedure Pin
Colin Angus Mackay20-Oct-04 5:30
Colin Angus Mackay20-Oct-04 5:30 
GeneralRe: Stored Procedure Pin
cooldev20-Oct-04 5:34
cooldev20-Oct-04 5:34 
GeneralSQL Server access across a network Pin
StephenMcAllister19-Oct-04 9:55
StephenMcAllister19-Oct-04 9:55 
GeneralRe: SQL Server access across a network Pin
Colin Angus Mackay19-Oct-04 11:28
Colin Angus Mackay19-Oct-04 11:28 
GeneralRe: SQL Server access across a network Pin
ramkylaks19-Oct-04 12:51
ramkylaks19-Oct-04 12:51 
GeneralRe: SQL Server access across a network Pin
StephenMcAllister19-Oct-04 16:20
StephenMcAllister19-Oct-04 16:20 
GeneralRe: SQL Server access across a network Pin
Mekong River19-Oct-04 16:40
Mekong River19-Oct-04 16:40 
GeneralRe: SQL Server access across a network Pin
ramkylaks20-Oct-04 13:34
ramkylaks20-Oct-04 13:34 
GeneralRe: SQL Server access across a network Pin
DreadPirateRoberts27-Oct-04 7:42
DreadPirateRoberts27-Oct-04 7:42 
GeneralODBC DNS connection to Access database Pin
rb15719-Oct-04 8:56
rb15719-Oct-04 8:56 
GeneralRe: ODBC DNS connection to Access database Pin
Tom Wright19-Oct-04 12:17
Tom Wright19-Oct-04 12:17 
GeneralRe: ODBC DNS connection to Access database Pin
Mekong River19-Oct-04 16:41
Mekong River19-Oct-04 16:41 
GeneralRe: ODBC DNS connection to Access database Pin
rb15719-Oct-04 20:25
rb15719-Oct-04 20:25 
GeneralRe: ODBC DNS connection to Access database Pin
rb15719-Oct-04 20:26
rb15719-Oct-04 20:26 

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.