I have two questions concerning formatting output in SQL.
I have a processer speed column that I would like to make usable. A sample entry is 2793, which I would like to be returned as '2.8 GHz'. I am using the following successfully, but when I try to append the ' GHz' it gives me a conversion error (I have tried putting both a cast and convert around the round statement).
ROUND(CONVERT(DECIMAL,PCCPUSpeed_IN) / 1000,1) + ' GHz'
Secondly, I have a RAM colum that stores values such as 534753280. I would like the results to fallin into 64 Mb buckets. So values between 512000 & 532480 should return '512 Mb'. I realize I can do this using a CASE statement, but is there a better way?
Thanks,
RobAll formatting really ought to be done on the client or at least in the middle tier. Doing formatting in the database is suicidal from both a performance and a scaling perspective in the long term.
-PatP
Showing posts with label speed. Show all posts
Showing posts with label speed. Show all posts
Tuesday, March 27, 2012
Monday, February 13, 2012
Backup using SQLLiteSpeed
Gurus,
Has anyone used the product SQL Lite Speed for their
backups? If so, can anyone give me an idea of how the
product is...we are evaluating its use and would like some
industry opinion on it.
Thanks for your help,
SumeshSumesh...
We've recently implemented SQL LiteSpeed on a number of our production and d
evelopment servers. I would highly recommend it to anyone that has large SQ
L databases. We have a ~44Gb database and with SQL LiteSpeed the backup fil
e is under 6Gb!!!! The int
erface is just another MMC snap-in, so it integrates well with Enterprise Ma
nager. Technical Support is VERY responsive and friendly. It's not appropr
iate for SQL Servers that don't house large databases, but for the bigger on
es it's a necessity.
sean|||It works very well, but I came across a few gotchas that I can't
remember right now, I think it was to do with converting maintenance
plans. Anyway, it's probably fixed now. I would highly recommend it, an
excellent product. I have used it on our data warehouse. You need to
switch fiber mode off.
Mark Allison, SQL Server MVP
Sumesh wrote:
> Gurus,
> Has anyone used the product SQL Lite Speed for their
> backups? If so, can anyone give me an idea of how the
> product is...we are evaluating its use and would like some
> industry opinion on it.
> Thanks for your help,
> Sumesh|||Some of my customers also use it, they are extremely excited and happy with
it..
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Sumesh" <Sumesh.Sundareswaran@.trsga.com> wrote in message
news:fc4b01c40d3b$802ad9e0$a501280a@.phx.gbl...
> Gurus,
> Has anyone used the product SQL Lite Speed for their
> backups? If so, can anyone give me an idea of how the
> product is...we are evaluating its use and would like some
> industry opinion on it.
> Thanks for your help,
> Sumesh
Has anyone used the product SQL Lite Speed for their
backups? If so, can anyone give me an idea of how the
product is...we are evaluating its use and would like some
industry opinion on it.
Thanks for your help,
SumeshSumesh...
We've recently implemented SQL LiteSpeed on a number of our production and d
evelopment servers. I would highly recommend it to anyone that has large SQ
L databases. We have a ~44Gb database and with SQL LiteSpeed the backup fil
e is under 6Gb!!!! The int
erface is just another MMC snap-in, so it integrates well with Enterprise Ma
nager. Technical Support is VERY responsive and friendly. It's not appropr
iate for SQL Servers that don't house large databases, but for the bigger on
es it's a necessity.
sean|||It works very well, but I came across a few gotchas that I can't
remember right now, I think it was to do with converting maintenance
plans. Anyway, it's probably fixed now. I would highly recommend it, an
excellent product. I have used it on our data warehouse. You need to
switch fiber mode off.
Mark Allison, SQL Server MVP
Sumesh wrote:
> Gurus,
> Has anyone used the product SQL Lite Speed for their
> backups? If so, can anyone give me an idea of how the
> product is...we are evaluating its use and would like some
> industry opinion on it.
> Thanks for your help,
> Sumesh|||Some of my customers also use it, they are extremely excited and happy with
it..
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Sumesh" <Sumesh.Sundareswaran@.trsga.com> wrote in message
news:fc4b01c40d3b$802ad9e0$a501280a@.phx.gbl...
> Gurus,
> Has anyone used the product SQL Lite Speed for their
> backups? If so, can anyone give me an idea of how the
> product is...we are evaluating its use and would like some
> industry opinion on it.
> Thanks for your help,
> Sumesh
Labels:
backup,
database,
evaluating,
gurus,
idea,
lite,
microsoft,
mysql,
oracle,
product,
server,
speed,
sql,
sqllitespeed,
theirbackups,
theproduct
Subscribe to:
Posts (Atom)