Viewing 15 posts - 1 through 15 (of 37 total)
Yes I want to count each item in each order and assign serial number to each item.
April 10, 2016 at 10:52 pm
Create table Script is as under:
Create table OrdersDetails(OrderNo varchar(30),ItemNo Varchar(20),ItemName Varchar(50))
insert script is as under:
Insert into OrdersDetails (OrderNo,ItemNo,ItemName) Values('12231','1','sdfasfasd')
Insert into OrdersDetails (OrderNo,ItemNo,ItemName) Values('12231','2','sdfasfasdas2')
Insert into OrdersDetails (OrderNo,ItemNo,ItemName) Values('12231','1','sdfasfasd')
Insert into OrdersDetails (OrderNo,ItemNo,ItemName)...
April 7, 2016 at 4:02 am
The enterd data i.e. posted is in Hindi language i.e. local language in India.
June 8, 2015 at 6:12 am
I got the solution
Use Replicate function
SELECT '200000'
SELECT REPLICATE('0',7)+'200000'
August 29, 2013 at 11:51 pm
Because it effects the execution of other applications
August 7, 2013 at 2:35 am
this is working for Amita and Ankita but not working for Amita and Anita
April 9, 2013 at 3:04 am
i have checked in my System and server hindi font support has been install. Can you suggest me some thing else for phonetic search. How can I make search on...
September 15, 2012 at 2:48 am
Write function as
CREATE FUNCTION InitCap (
@string varchar(255)
)
RETURNS varchar(255) AS
BEGIN
RETURN upper(left(@string, 1)) + right(@string, len(@string) - 1)
END
and then write query as
SELECT
InitCap(Left(Status, CHARINDEX('.', user_name,...
July 26, 2012 at 5:03 am
hello
This query is work's for me but only the case where number of result set in both select statement are same but in my case issue is that number...
July 26, 2012 at 4:52 am
Hi,
Thank you for your help.. and I am littele bit Close to result.
I needed all records from left table
so my query is like:
SELECT
BI.*,
S.uid,
S.eid,
S.name_local,S.addr_careof_local
FROM
bilaspur_ssp..bilaspurssp BI
left JOIN
EIDMAP S
ON
BI.ApplicantName like N'%'+S.name_local+'%'
AND
S.addr_careof_local like N'%'+rtrim(ltrim(isnull(BI.HusbandsName,'')+ISNULL(BI.FathersName,'')))+'%'
and...
July 18, 2012 at 10:51 pm
Thanx to every on Problem has been resolve by database file srinking.
July 11, 2012 at 3:38 am
Try this
Select convert(varchar(20),Column1)+' '+ Column2 [ColumnName]
January 4, 2012 at 3:48 am
I don't have access of customer's pc I have to hand over CD of the software to the client.
January 4, 2012 at 3:42 am
I got Solution
Select
Case when datename (dw, getdate())='Monday' then Monday else
case when datename (dw, getdate())='Tuesday' then Tuesday else
case when datename (dw, getdate())='Wednesday' then Wednesday else
case when...
December 31, 2011 at 2:06 am
Viewing 15 posts - 1 through 15 (of 37 total)