Viewing 15 posts - 8,971 through 8,985 (of 13,469 total)
i actually keep the correct link to that script to generate insert statements in my signature on the hopes it gets someone to post their data in the forum:
August 9, 2010 at 5:44 am
well it's not a fixed ratio; a database with lots of varbinary/image/blob type data will have a less effective compression ratio than one that is mostly just text and numbers.
you...
August 6, 2010 at 11:04 am
based on his latest description, i think the issue has nothing to do with formatting...it's the master data is on row 1 of the results, but he wants rows 2/3/etc...
August 6, 2010 at 10:13 am
just make it easier on yourself...
create 5 views, one for each group of statements you will need to gather....
yeah the view will have the 12 statements for each synonym, but...
August 6, 2010 at 8:27 am
i'm guessing permissions maybe? the job when run under the SQL Agent might not have permissions to some shared resource or not? what is the job doing?
August 6, 2010 at 8:07 am
don't forget that the Express edition does not include the SQL Agent;
you should spend the $49 dolalrs and get the Developer Edition, which includes the SQL Agentand so much...
August 6, 2010 at 8:02 am
i think synonyms might be a good fit for what you are trying to do.
a synonym can point to an object..table,view,procedure, etc.
so you could make a suite of 12 synonyms...
August 6, 2010 at 7:56 am
formatting shouldn't really be done in the SQL if at all possible, but you can still do it.
one easy way is to convert the results to the right CHAR size:
SELECT...
August 6, 2010 at 7:48 am
doh i should have tested that: wrapped the datediff evaluation with the convert first, sorry:
select ABS(CONVERT(BIGINT,(DateDiff(minute, getdate(), '1900-01-01'))) * 60),
ABS(CONVERT(BIGINT,(DateDiff(minute,...
August 5, 2010 at 9:50 am
WayneS (8/5/2010)
If it's a server...
August 5, 2010 at 9:20 am
the error is related to the actual data being tested/datediffed. one instance has data that is out of range.
when you use datediff with seconds, there can only be something like...
August 5, 2010 at 9:09 am
basically you have to determine that if any high ascii character(>127) exists, you want to use DESC sort order on the example i provided, but if no high ascii exists,...
August 5, 2010 at 5:29 am
things to look for:
1. the user would lose his permissions every time the database is restored to a version that did not have his permissions previously.
2. if this is object...
August 4, 2010 at 12:23 pm
glad i could help; there's a lot to do in there to make it report-presentable..convert to decimal a couple of times along with the division and case statement;
much easier...
August 4, 2010 at 9:32 am
this should help you visualize; you'll need a case statement:
/*--results
KB MB GB...
August 4, 2010 at 9:17 am
Viewing 15 posts - 8,971 through 8,985 (of 13,469 total)