Viewing 15 posts - 391 through 405 (of 771 total)
From what I saw you just took the " from "C:\Program Files\WinRAR\WinRAR.exe"
but Program Files as a space does it work?
May 24, 2012 at 5:05 am
full query (still don't work):
set @nomeexacto = (select top 1 s from a1 where s like '%'+@nomeficheiro+'%')
...
May 24, 2012 at 5:00 am
This is how the command tries to execute:
"C:\Program Files\WinRAR\WinRAR.exe" x -u c:\import\"PastaExportacao SGCTlocal - 4.01 - 20120523 112426 - T - 1118.rar" c:\import\"PastaExportacao SGCTlocal - 4.01 - 20120523...
May 24, 2012 at 4:45 am
If I do that. then I have this (below) as the name of the file.
It does not work too..
c:\import\"PastaExportacao SGCTlocal - 4.01 - 20120523 112426 - T - 1118.rar"
May 24, 2012 at 4:34 am
It was one of other procs.
Thanks
May 23, 2012 at 7:59 am
But how to do it for several at the same time, like:
exec master.dbo.xp_cmdshell 'rmdir "c:\tempo_SGCTLOCAL\"', no_output
exec master.dbo.xp_cmdshell 'mkdir "c:\tempo_SGCTLOCAL\"', no_output
exec master.dbo.xp_cmdshell 'MOVE '+@caminho+'*.* c:\tempo_SGCTLOCAL', no_output
exec master.dbo.xp_cmdshell 'rd /s/q '+@caminho+'',...
May 22, 2012 at 6:28 am
It does not work....
I can not use select into in the cloud (SQL Zure) see error bellow, please:
Statement 'SELECT INTO' is not supported in this version of SQL Server.
April 30, 2012 at 7:39 am
Steve Jones - SSC Editor (4/27/2012)
April 27, 2012 at 9:48 am
It is a thing that will happens sometimes in a day.
Cursor is bad because of performance
April 27, 2012 at 9:47 am
I tryed to add the procedure like :
Begin try
declare @test-2 as integer
insert into facturas
select b.productid, a.quantidade,...
April 27, 2012 at 8:23 am
Maybe like this:
Begin try
insert into facturas
select b.productid, a.quantidade, a.desconto, a.iva, a.total, @data, @supplier, @numero, a.preco, @estadofac from temp_facturas1 a,...
April 27, 2012 at 8:19 am
Thank you.
Let me just put two more question please.
1) I made it like bellow. What do I put in the catch so that It returns 1 if sucess...
April 27, 2012 at 8:16 am
What do you think it's better for this case :
create procedure Facturacao (@maquina varchar(50), @data smalldatetime, @numero varchar(50), @supplier integer, @EstadoFac integer)
as
insert into facturas
select b.productid, a.quantidade, a.desconto, a.iva,...
April 27, 2012 at 7:57 am
That will not happen.
I have four tables:
Cars
Trucks
WareHouses
Type of location
But I have another table named Physical_Location
it as OwnID; type of location Id; ID Location
February 10, 2012 at 9:28 am
Viewing 15 posts - 391 through 405 (of 771 total)