Viewing 15 posts - 16 through 30 (of 104 total)
Hi Friends,
as example:
create table Customers
(
companyname varchar(10),
invoice_locn varchar(20),
invoice_no varchar(10),
model_ref varchar(20),
item_type char(20),
item_no int,
invoice_qty int
)
insert Customers values ('VB','chennai ','tn/002/13-14','#','K','6000320','25')
insert Customers values ('VB','chennai','tn/002/13_14','6000320','X','500320','30')
insert Customers values ('VB','chennai','tn/002/13_14','6000320','X','500300','05')
insert Customers values ('VB','chennai','tn/002/13_14','#','I','500340','25')
like i ve...
January 24, 2014 at 3:24 am
Hi Freinds,
thanks for ur reply,
if suppose mt table looks like
create table tab
(
Bill_no,
ref_group,
product,
qty
)
insert into tab(BillNo,ref_group,product,qty)
values ('24','Milk Produtcs','Butter','05')
insert into tab(BillNo,ref_group,product,qty)
values ('24','Milk Produtcs','Curd','25')
insert into tab(BillNo,ref_group,product,qty)
values ('24','Dhal...
January 22, 2014 at 12:20 am
Hi friends,
as the same table how to separate lowest value only.
January 21, 2014 at 5:25 am
Hi dwain.c,
Thanks for ur reply.....
i need the o/p like each item wise (i.e you wrote the code for max item ,
now each item should...
January 16, 2014 at 12:16 am
Hi,
Thanks For Sharing Ur Knowledge.Its Working GOOd
January 9, 2014 at 3:16 am
How write the same code in sql server 2000
January 9, 2014 at 2:17 am
Hey Sri ,
Lets Consider table like
create table Bill_max
(
bill_no int,
cust_det int,
product varchar(20),
Price int,
bill_date datetime
)
insert into bill_max(bill_no, cust_det,product,prize,Bill_date) values('25','ram','Milk','25','01-apr-2013')
insert into bill_max(bill_no, cust_det,product,prize,Bill_date) values('25','ram','Perfume','150','01-apr-2013')
insert into bill_max(bill_no, cust_det,product,prize,Bill_date)...
January 9, 2014 at 2:02 am
Thx Friend,
If suppose i m expect EXCEPT o/p in sql server 2000 how to that?
or any other replacements are there for INTERSECT & EXCEPT
January 5, 2014 at 11:14 pm
i need the output like
for example 2013-04-01 is in table my expectation output is 04-2013 (extract month with year)......
December 31, 2013 at 3:02 am
custoproductvalno.of.mon
10Friut 1300 1
10Milk 2900 2
30Milk 6000 2
i wanna calculate...
December 31, 2013 at 2:37 am
ChrisM@Work,
can't process ur code becz i ve more than 5 lakh data 's from year wise of '2007 to 2013' date wise bills
December 30, 2013 at 5:25 am
here i can such example
create table estr
(
custo int,
product varchar(20),
val int,
billed_date datetime
)
insert into estr(custo,product,billed_date,value) values('10','Milk','2013-04-11','2000')
insert into estr(custo,product,billed_date,value) values('10','Milk','2013-04-21','500')
insert into estr(custo,product,billed_date,value) values('10','Milk','2013-05-05','100')
insert into estr(custo,product,billed_date,value) values('10','Milk','2013-05-11','2000')
insert into estr(custo,product,billed_date,value) values('10','fruits','2013-05-11','500')
insert into estr(custo,product,billed_date,value) values('30','fruits','2013-04-11','2000')
insert into...
December 30, 2013 at 5:08 am
hi friends,
thanks for giving the reply to me.
as my scenario is to calculate no.of. months in that table. (for example milk is billed on more than 3 times...
December 29, 2013 at 7:31 am
like above my requirement is these procedure correct ah?
alter procedure save_draft
(
@username varchar(20),
@departure datetime,
@request int,
@error Varchar(100)=null output
)
as
begin
declare @userid varchar(20)
August 7, 2013 at 9:17 am
Viewing 15 posts - 16 through 30 (of 104 total)