Viewing 15 posts - 271 through 285 (of 1,086 total)
You know you either have or do not have comma's.
I would suggest you make a table with the text, (i.e., 25 = "Twenty Five", 250 = "Two hundred and fifty", or...
February 21, 2006 at 1:43 pm
Oh man! You're #1 on the site now, aren't you?!?!?!?
Cripes! I already don't get enough sleep....
November 30, 2005 at 7:05 am
You may need to give us more information, but based upon what your post states, this should work...
CREATE TABLE #Parent( IdentityField integer,...
November 30, 2005 at 4:47 am
976.23 Knucklehead [ #4 ]. You got some competition now Sushila...
November 29, 2005 at 8:04 pm
CREATE TABLE #Test( PrimaryKey integer IDENTITY,
CharacterField varchar(10))
INSERT INTO #Test
SELECT 'First' UNION ALL
SELECT 'Second' UNION ALL
SELECT 'Third'
SELECT * FROM #Test
DROP TABLE #Test
CREATE...
November 25, 2005 at 12:45 pm
Not sure what is happening with your query, other than the issue that "Time" is a reserved word. Try this:
DECLARE @RaceResults TABLE( Sex char(1),
Distance numeric(5,3),
[Time]...
November 25, 2005 at 11:27 am
That was my point. In other words, all the tables contain the same columns, just different names?
November 24, 2005 at 10:51 am
First off, why is this Dynamic SQL? You seem to know which table you are using as you are specifying each column independently. I would suggest you alter this to...
November 24, 2005 at 7:17 am
Yeah, yeah,... I know. Do as I say, not as I do...
November 5, 2005 at 9:27 am
Calendar and numbers tables are the best approach! Do a search on these - RGR'us has a number of postings with those approaches...
November 3, 2005 at 4:52 am
Good thinking! Done that myself during testing. Forgot to comment out or remove some return code...
November 3, 2005 at 4:45 am
Probably - but I figured a bulldozer approach was just what it needed...
(It probably could be done with a CASE statement...)
November 1, 2005 at 9:37 pm
phillcart, your choice of date was perfect! The last day of that month is Sunday, hence you need a bit of flow control to prevent going back a full week...
November 1, 2005 at 8:57 pm
Have you recompiled the stored procedure? It may have become corrupt...
November 1, 2005 at 8:41 pm
Thanks. That was the path I was using, but somehow I had it in my head there was simpler way to handle this...
Oil...
October 31, 2005 at 2:30 pm
Viewing 15 posts - 271 through 285 (of 1,086 total)