Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
obinna
Starting Member
26 Posts |
Posted - 2007-06-12 : 08:05:39
|
| I have a Column called PostNr which is of type Char(4)I want to be able to Convert it to intHow can I accomplish that in query analyser, I tried changing it in Ent Manager, it keeps timing out.I data in Post is in this format, does not contain illegal character just number |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-06-12 : 08:13:19
|
| you want to change the column datatype in the table?_______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenp |
 |
|
|
obinna
Starting Member
26 Posts |
Posted - 2007-06-12 : 08:17:35
|
| Yep |
 |
|
|
obinna
Starting Member
26 Posts |
Posted - 2007-06-12 : 08:37:13
|
| SolvedALTER TABLE dbo.tbl_StreetsALTER COLUMN PostNr int |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-06-13 : 03:30:05
|
| Is this the "old" obinna_eke? Who has struggled with his address system for almost a year?Peter LarssonHelsingborg, Sweden |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-06-13 : 08:31:46
|
quote: Originally posted by Peso Is this the "old" obinna_eke? Who has struggled with his address system for almost a year?Peter LarssonHelsingborg, Sweden
Name sounds like that MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|