Viewing 8 posts - 1 through 9 (of 9 total)
hi,
select replace(columnname,right(columnname,4),'1111') from tablename
regards
Anurag
March 13, 2007 at 2:39 am
hi,
ur query is something like selecting all records from staff table which returns multiple records.
in the above query, u r only taking email column from table in a single...
March 13, 2007 at 2:30 am
hi,
i am not confirmed that this should work or not. u can try this!!
first of all check ur network connections i.e whether u r able to ping ur...
January 9, 2007 at 5:22 am
Hi,
U can use Indexes for that. Go to manage indexes & create new index using column a,b, c & click on "unique values check box".
u will get ur desired...
January 8, 2007 at 2:46 am
Actually both queries are correct but in first query by mistake you have typed comma before AS(shown in RED), delete that comma & the query gives the same result.
SELECT OrderID,...
December 20, 2006 at 9:19 pm
COUNT(*) returns the number of items in a group, including NULL values and duplicates
But if you specify a column name in Count function i.e Count(age) then it will not return...
December 14, 2006 at 10:01 pm
ya, its possible
DECLARE @StaffList varchar(100)
SELECT @StaffList = COALESCE(@StaffList + ', ', '') + Surname
FROM StaffList order by Surname asc
SELECT @StaffList
When @StaffList is NULL (the first row processed), it returns an empty string....
December 14, 2006 at 3:36 am
Viewing 8 posts - 1 through 9 (of 9 total)