Viewing 15 posts - 31 through 45 (of 154 total)
Frank,
try google - when was the last time any movie was a reflection on reality ... 🙂
some body had posted earlier that you could probably find the meaning of life...
June 13, 2003 at 6:10 am
different take on the subject-
1) Good album on headphones (SOAD anyone??)
2) Mug of columbian or a cold beer(if allowed) 🙂 🙂
3) A dog -eared copy of Guru's Guide
4) Boss on...
June 11, 2003 at 7:04 am
might be overkill - but i have a standard UF for these pesky CSV strings
CREATE FUNCTION UF_ParseIntoTable (@lv_PassedString varchar(8000))
RETURNS @Results TABLE
(
ItemIdint
)
AS
BEGIN
DECLARE @li_StringPos smallInt,
@lv_ConvStringvarchar(10)
SET @lv_PassedString =...
June 11, 2003 at 6:38 am
whe you say collation option - do you mean this
SELECT T1.*
FROM TableA T1
INNER JOIN OtherDb..TableA T2 ON T1.TxFld LIKE T2.TxFld COLLATE SQL_Latin1_General_CP1_CI_AS
June 9, 2003 at 4:27 am
true - the only SQL only options i can think of are restrictive and would not be true solutions
Hans - can you show us what kind of nested select you...
June 9, 2003 at 4:23 am
select convert(time_challan,114) from tableA
you've missed the first parameter of convert
should be
select convert(varchar,time_challan,114) from tableA
June 7, 2003 at 2:56 am
SELECT Today=convert(varchar, GETDATE(),114)
returns
Today
------------------------------
13:52:08:233
seems...
June 7, 2003 at 2:16 am
Sorry - yes understand what you mean now - READPAST would probably issue a lock itself..
can't think of anything that will do what you are asking for
June 7, 2003 at 2:12 am
coverston
you want the select to honor locks - but you want to read the locked data?? - that seems like a bit of contradiction to me .. In case...
June 7, 2003 at 2:03 am
actually - i have come across the same problem many times myself - and have always opted for this solution . it would be interesting to see if this can...
June 6, 2003 at 8:38 am
do you have a check in the update trigger to exit if status is updated - like this
IF UPDATE(status)
RETURN
that should stop any recursion
we have a similar situation...
June 6, 2003 at 8:27 am
a UDF would be the best way to go
CREATE FUNCTION dbo.UF_ReturnOrders (@Cust_num int)
RETURNS varchar(255)
AS
BEGIN
DECLARE @RetStr varchar(255)
SELECT @RetStr = ISNULL(@RetStr + ' ' + CONVERT(varchar(20),Order_numbers),CONVERT(varchar(20),Order_numbers))
FROM Orders
WHERE (Cust_num = @Cust_num)
RETURN @RetStr
END
SELECT *,dbo.UF_ReturnOrders(cust_number)...
June 6, 2003 at 8:19 am
if you have a unique key in the results then yes
USE PUBS
SELECT ( SELECT COUNT(*) FROM Titles T2 WHERE T1.Title_id <= T2.Title_id) As RowNo , *
FROM Titles T1
ORDER BY...
June 6, 2003 at 8:10 am
Viewing 15 posts - 31 through 45 (of 154 total)