Viewing 15 posts - 1,096 through 1,110 (of 1,993 total)
im curious,
a lot of the resistance to cloud usage comes from a financial standpoint or a good old fashioned control of hardware need... but has anyone looked at this...
MVDBA
May 24, 2012 at 3:55 am
michael vessey (5/24/2012)
sqlbee19 (5/23/2012)
michael vessey (5/23/2012)
MVDBA
May 24, 2012 at 2:52 am
sqlbee19 (5/23/2012)
michael vessey (5/23/2012)
MVDBA
May 24, 2012 at 2:48 am
GilaMonster (5/23/2012)
Index physical stats doesn't run showcontig, more the other way around. Showcontig is deprecated and just...
MVDBA
May 24, 2012 at 2:45 am
Koen Verbeeck (5/24/2012)
Schadenfreude-Mei (5/24/2012)
Robert Davis (5/23/2012)
MVDBA
May 24, 2012 at 2:40 am
Lynn Pettis (5/23/2012)
michael vessey (5/23/2012)
The person who wrote the original code or the tester that allowed it to make it into production?
ahem.... the tester didn't put the defect...
MVDBA
May 24, 2012 at 2:36 am
...anything that necessarily iterates over 1 row at a time and cannot be made to iterate of more than 1 row at a time (you can read that as processes...
MVDBA
May 24, 2012 at 2:29 am
oh and a recursive CTE may be an iterative operation, but when cross joined for an insert the "Insert" is not iterative..... it's still a set based operation in the...
MVDBA
May 24, 2012 at 2:24 am
Jeff Moden (5/23/2012)
michael vessey (5/23/2012)
with x (id) as
(select 1 as id
union all
select ID+1 from X as id
where id<10000
)
insert into fooTable
select d.name from sysdatabases d cross join...
MVDBA
May 24, 2012 at 2:22 am
The person who wrote the original code or the tester that allowed it to make it into production?
ahem.... the tester didn't put the defect there (the developer did)...
MVDBA
May 23, 2012 at 9:59 am
see my example
create table footable (name varchar(1000))
go
select 'aaaaa';
with x (id) as
(select 1 as id
union all
select ID+1 from X as id
where id<10000
)
insert into fooTable
select d.name from sysdatabases d cross...
MVDBA
May 23, 2012 at 9:54 am
any code before the "WITH x as" must be terminated with a ;
MVDBA
May 23, 2012 at 9:52 am
the multiple rows returned in your select statement are corrupting the @cmd value - in theory the value returned should be correct (although if you use any fields from sys.server_principals...
MVDBA
May 23, 2012 at 9:49 am
sqlbee19 (5/23/2012)
----------------------------
set nocount on
declare @role varchar(255),@dbname varchar(255)
declare @rowid int
declare @user nvarchar(255)
declare @cmd varchar(8000)
set @dbname = 'Mydatabasedashboardaaaaaaaaa1111'
set @role = 'db_owner'...
MVDBA
May 23, 2012 at 9:46 am
you need to use a ranking function to find the first instance of a value
see my example below
select x.* from
(
select id,name,ROW_NUMBER() over (partition by id order by name asc)...
MVDBA
May 23, 2012 at 9:37 am
Viewing 15 posts - 1,096 through 1,110 (of 1,993 total)