Viewing 15 posts - 136 through 150 (of 455 total)
Can you please post how do you want to see the output data with an example so that it would be easy to understand what you are looking for.
Thanks
February 15, 2007 at 6:00 am
February 15, 2007 at 5:26 am
I feel the forum caters enough for SQL Server 2000 and SQL Server 2005. Whenever a product has a upgraded version released and people start using it, they come across...
February 15, 2007 at 5:21 am
TRY.....CATCH exception handling is something that is introduced in SQL Server 2005 to introduce a new paradigm of Error Handling in SQL. However it is a proven and familiar methodology...
February 14, 2007 at 7:23 am
Hi Gary,
Please post your SQL Query so that we can suggest you the solution.
February 14, 2007 at 6:58 am
I assumed so that it could be a VARCHAR, makes sense to change the datatype to desired format unless you really forsee a condition where it has potential need to...
February 13, 2007 at 5:16 am
Select <FieldName>
FROM
<TableName>
ORDER BY
<FieldName> ASC
February 13, 2007 at 5:09 am
Use this query to fetch only the data where employee has more than one address. You can also use derived tables.
SELECT *
FROM
mst_ServiceUser as Users
INNER JOIN
mst_Address as...
February 13, 2007 at 4:46 am
Well using cursors are least recommended unless otherwise there is no other way to fulfil your requirement. UDF would have been handy if Danial had no limitation with respect to...
February 13, 2007 at 3:18 am
For your requirement, it makes more sense to use a User Defined Function.
February 12, 2007 at 11:57 am
I have not tested this and please ignore if doesnot yeild the desired results.
SELECT users.Uname,
users.UnameFirst,
users.UnameLast,
ROUND(SUM(workcompleted.WCmileage), 2)/(COUNT( WXlinkItemID)) AS totMileage,
ROUND(SUM(workexpense.WXamount), 2) as totExpenses
FROM
workrequest,
worktask,
users,
workcompleted
LEFT OUTER...
February 12, 2007 at 11:17 am
You can set the Hidden property to False using expressions and checking the AddressID. But its better to handle this in your stored procedure or query. Post your Query or...
February 12, 2007 at 7:30 am
DECLARE @Date DATETIME
SET @date = (SELECT GETDATE())
SELECT 'Yes ' + CONVERT(VARCHAR(10),@date,101) + ' ' + CONVERT(VARCHAR(10),@date,108)
February 12, 2007 at 7:17 am
It can also be termed as Master and Child records residing on the Same table. One LeaID can be referenced by Multiple PriorLeaseIDs .
February 12, 2007 at 7:13 am
AS Posted by Micheal, you are not clear on what you want to know. However from your post LeaID is your Primary Key of Lease table and PriorLeaseID is a...
February 12, 2007 at 7:10 am
Viewing 15 posts - 136 through 150 (of 455 total)