Viewing 15 posts - 8,806 through 8,820 (of 14,953 total)
Reinstall the client tools from an RTM (or later) disk.
August 6, 2009 at 3:20 pm
You should be able to query the backups tables in msdb and use the data from there.
August 6, 2009 at 3:18 pm
Nikki (8/6/2009)
Users do need access within database to perform their duties but they should be connecting to database only through the application...
August 6, 2009 at 3:15 pm
It would look like this for you:
declare @Range varchar(10);
select @Range = '1-3';
-- Query
;with CTE as
(select EMPLOYID, 1 as Col, GROSWAGS_1 as MonthlyWages
from dbo.UPR00900
union all
select EMPLOYID, 2 as Col, GROSWAGS_2
from dbo.UPR00900
union...
August 6, 2009 at 3:08 pm
jordon.shaw (8/6/2009)
August 6, 2009 at 3:02 pm
jcrawf02 (8/6/2009)
That's how I picture Jeff too, a princess in a forest.[hides]
I'm just hoping to make him shoot soda out of his nose when he reads my post.... 😛
August 6, 2009 at 2:37 pm
Do you mean the actual size of the stored data for each row, or do you mean the total possible size for the columns?
August 6, 2009 at 2:13 pm
Here's a sample solution that you should be able to modify to fit your needs:
set nocount on;
if object_id(N'tempdb..#T') is not null
drop table #T;
--
-- Table with similar structure
create table #T (
ID...
August 6, 2009 at 2:11 pm
The one that says:
While there are exceptions, most of the DBAs *I* have met seem to fit into one or more of the following categories:
Conservative, not necessarily in the political...
August 6, 2009 at 1:57 pm
Jeff Moden (8/6/2009)
Grant Fritchey (8/6/2009)
GilaMonster (8/6/2009)
Grant Fritchey (8/6/2009)
Jeff Moden (8/6/2009)
August 6, 2009 at 1:36 pm
It makes sense. It's the reason that data of that sort should be stored in rows, not columns, but it can be made to work.
Will the query always be...
August 6, 2009 at 1:32 pm
bitbucket (8/6/2009)
August 6, 2009 at 12:33 pm
If you have a Numbers table, you can use this:
;with
DatesInMonth (Date) as
(select
dateadd(day, Number-1, dateadd(month, datediff(month, 0,...
August 6, 2009 at 12:32 pm
Look up "incremental" in a good dictionary. Not trying to put you off, but it's pretty straightforward once you've done that.
August 6, 2009 at 12:18 pm
Viewing 15 posts - 8,806 through 8,820 (of 14,953 total)