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 |
sqlpal2007
Posting Yak Master
200 Posts |
Posted - 2012-01-11 : 20:57:45
|
Hello All,I am running some queries to get database, index sizes.But then the result pulls the unit of size also.For example: 1000 KB or 280 MB etc.Result: 1000 or 280I need to trim these two chars and the space before it. The remianing int should be converted to int so i can apply arthimatic functions.Can someone give me an idea?Thanks, |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2012-01-11 : 21:25:44
|
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=79083&SearchTerms=fnFilterString KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|