Viewing 15 posts - 23,221 through 23,235 (of 26,486 total)
If you are sure that the values are all numeric, you can do this:
ORDER BY
CAST(YourColumn as INT)
December 17, 2008 at 11:25 am
Not sure. I did a lot of COBOL programming at my previous employer and I think moving to an OO environment where I could continue to use the skills...
December 17, 2008 at 11:19 am
EXISTS is available in SQL Server 2005 CE, so I'd hope it was also available in earlier versions. Have you checked BOL for your version?
December 17, 2008 at 11:15 am
Actually, they have made this COBOL pretty much OO. I have been looking at the web site, and it looks like there is a lot of effort behind it...
December 17, 2008 at 11:08 am
If you have been COBOL shop for years, why not look at Fujitsu NetCOBOL for .NET?
You may still need VB.NET for SSIS, SSRS, et al.
December 17, 2008 at 10:53 am
Well, it is still alive and kicking. My co-worker was taking a C class in college, wrote his programs using Power Basic first and got it working, then ported...
December 17, 2008 at 9:34 am
It would help if you could provide the table DDL (create statement), some sample data (in the form of insert statements), and what your expected results would be based on...
December 17, 2008 at 9:21 am
Co-worker at my previous employer really like Power Basic. Creates extremely fast and tight code. They recently added a /bloat switch that makes the executable bigger, but still...
December 17, 2008 at 8:50 am
You will have to test the following code as I am currently applying SP3 to my system here at home.
;with MyData (
rownum,
colA,
...
December 16, 2008 at 10:50 pm
Just to be sure, as this is posted in a SQL Server 2005 forum (we have had SQL Server 2000 posts here), that you are using SQL Server 2005. ...
December 16, 2008 at 10:39 pm
This could be as easy as a simple pivot or a more complex dynamic pivot. Based on your data provided, it is a little difficult to know for sure....
December 16, 2008 at 10:33 pm
Now that makes total sense. Here is some code:
create Table #temp1
(
id int,
Rno int,
sno int
)
insert into #temp1 values(10,125,32)
insert into #temp1 values(20,145,32)
insert into #temp1 values(10,125,32)
insert into #temp1 values(30,125,32)
insert into...
December 16, 2008 at 10:01 pm
Steve Jones - Editor (12/16/2008)
December 16, 2008 at 9:53 pm
I'm sorry, but I'm confused as to what you want as a result set based on the sample data. Your verbal discription is confusing, and your answer to Barry...
December 16, 2008 at 9:36 pm
david.c.holley (12/16/2008)
For the record, the discussion groups that I have been apart of do not have stringent rules as to what needs to be included and what does not....
December 16, 2008 at 8:49 pm
Viewing 15 posts - 23,221 through 23,235 (of 26,486 total)