Viewing 15 posts - 46 through 60 (of 514 total)
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER FUNCTION BigMoney
(
@value float
)
RETURNS VARCHAR(500)
AS
BEGIN
DECLARE @numreal BIGINT, @num BIGINT,
@Result VARCHAR(200)
...
April 18, 2008 at 1:46 pm
Actually, mine doesn't consider the fractional part of the number.
April 18, 2008 at 1:28 pm
DECLARE @numreal BIGINT, @num BIGINT,
@Result VARCHAR(200)
SELECT @numreal = -123456789012,
@num = ABS(@numreal),
@Result = CASE(SIGN(@numreal)) WHEN 1 THEN '' ELSE...
April 18, 2008 at 1:24 pm
FYI, you do need to make sure that the order by's on the insert and the CTE match. If they don't you will delete the wrong rows.
i.e. It should...
April 17, 2008 at 1:25 pm
IF OBJECT_ID('tempdb..#temp') IS NOT NULL
DROP TABLE #temp
IF OBJECT_ID('tempdb..#temp2') IS NOT NULL
DROP TABLE #temp2
SELECT * INTO #temp
FROM sys.columns
SELECT COUNT(*) FROM #temp
SELECT TOP(500) *
INTO #temp2
FROM [#temp] ORDER BY [#temp].column_id
;WITH x AS...
April 17, 2008 at 1:22 pm
aggregate functions need to be coded as CLR's. Look into VS if you really need an aggregate.
You can get pretty complex and my experience is they don't perform as...
April 17, 2008 at 12:57 pm
Mark Markov (4/17/2008)[/b
Dear Mr. John Rowan:
I come from a former Soviet republic and I have difficulty determining when Americans are joking and when they are serious... Just in case you...
April 17, 2008 at 9:32 am
Mark Markov (4/17/2008)
I am confused because while I may be lying to get a job, I did not lie to YOU and I said in my first post that I...
April 17, 2008 at 8:44 am
Brandie Tarvin (4/17/2008)
I know my manager has been known to Google prospects before doing the phone interview.
When I went to my second interview for my current job, the manager interviewing...
April 17, 2008 at 6:55 am
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=323974&wa=wsignin1.0
Hello Bob,
Thanks very much for sending this our way. Looks like this was caused by a regression from a Yukon bug fix. We have fixed this in SQL Server 2008...
April 15, 2008 at 2:59 pm
April 10, 2008 at 10:47 am
I will continue to live in my make believe world for as long as I can.
http://video.google.com/videoplay?docid=-1491861000307198203&hl=en Mine is the second to sing. I expect that I have little chance...
April 10, 2008 at 9:46 am
DonaldW (4/10/2008)
I hope you saved the "embarrassing baby pictures" file to use for counter-blackmail.
I am expecting it on youtube any day now 🙁 But yes, I do have the...
April 10, 2008 at 9:12 am
Mike Menser (4/10/2008)
.. but it did entertain me for a few days. :w00t::D
So, in addition to annoying people, we entertain Mike 😎
Last night, the other parents and I,...
April 10, 2008 at 7:27 am
Viewing 15 posts - 46 through 60 (of 514 total)