Viewing 7 posts - 391 through 397 (of 397 total)
create proc spname as
select object_name(@@PROCID) procname
go
exec spname
December 29, 2003 at 5:29 pm
One of ways I use to output xml to file.
output query (stored procedure etc) result in xml format to url
use wsh take the url as input and output to file.
Check...
December 18, 2003 at 8:35 pm
convert(decimal(12,1))
December 14, 2003 at 10:03 pm
There is better way of doing this.
isqlw with -C option.
It can be used just like osql from console.
December 14, 2003 at 9:27 pm
foreign key does not auto create index on the column. This indicates no performance impact.
In my experiece, index is needed for speeding search.
December 11, 2003 at 8:12 pm
xslt could be a way for the translation.
I am using sqlxml <sql:query> option and redirect output steam to xslt to get final result.
December 11, 2003 at 7:07 pm
Use function is a way.
Here is the test case.
Change Price to money for accurate result.
create table tdata(DateOnData datetime, Item varchar(10), ClosingPrice money)
insert tdata values('1-Jan-01','sugar',400)
insert tdata values('1-Jan-01','salt',450)
insert tdata values('1-Jan-01','coffee',700)
insert tdata values('2-Jan-01','sugar',425)
insert...
December 10, 2003 at 11:55 pm
Viewing 7 posts - 391 through 397 (of 397 total)