Viewing 15 posts - 931 through 945 (of 13,460 total)
you need to have an explicit ORDER BY in your query. otherwise, it's coincidence or a crapshoot.
SQL server does not have a concept of order in a table.
SQL will...
Lowell
June 9, 2016 at 9:07 am
stn11 (6/8/2016)
NOT WORKING.User can still see ALL
i would guess your user is a sysadmin, by mistake or due to mutliple roles.
easy to check:
select IS_SRVROLEMEMBER('sysadmin','mydomain\lowell')
Lowell
June 8, 2016 at 8:33 pm
GilaMonster (6/8/2016)
Lowell
June 8, 2016 at 11:23 am
import wizard is probably dropping and recreating the tables;
the existing table says NOT NULL,
but whatever the wizard creates allows nulls.
pretty easy to check, compare the table definitions.
Lowell
June 8, 2016 at 11:10 am
TexasJohn (6/8/2016)
The catalog is wrong and the DSN file Schedule64 was saved to the Z drive as well.
saved to file? i am pretty sure you need a system...
Lowell
June 8, 2016 at 11:07 am
TexasJohn (6/8/2016)
Lowell
June 8, 2016 at 10:58 am
mapped drives like the z: drive are per user.
if you run xp_fixeddrives, do you have a Z:\ drive?
Lowell
June 8, 2016 at 10:36 am
Welsh Corgi (6/8/2016)
I queried the source table and there is only one record with value of the primary key.
This does...
Lowell
June 8, 2016 at 9:22 am
There's no difference ETL wise.
having SPARSE columns lets SQL optimize for mostly null values, and that's under the hood, albeit potentially a bit slower.
I think of sparse columns the same...
Lowell
June 8, 2016 at 9:18 am
I found this interesting, so i duplicated your issue.
I created a couple of server triggers, backed up master and restored it as a new name [masterbackup]
even though i've connecting via...
Lowell
June 8, 2016 at 8:12 am
also, check your schema changes history. if not too much time has occurred, the definition might still be in the default trace.

Lowell
June 8, 2016 at 7:56 am
Sure, its part of a scripti share here that checks for all invalid objects. It triesto recompile procs, functions and views.
Lowell
June 8, 2016 at 4:36 am
yes, but it's TWO tables that are affected. you want to truncate both parameters and events. i think it might require a DELETE, as i think there is a foreign...
Lowell
June 7, 2016 at 9:42 am
tiny tables.
small tables will not benefit from reindexing. only your large tables.
offhand, i think it's 1000 rows or less don't get any fragmentation benefit/results from reindexing, but we could look...
Lowell
June 7, 2016 at 9:37 am
i've done something similar.
i use sys.views and not information schemas; there's a LOT of information missing in those compatiblity views, so i avoid them like the plague.
select
'exec...
Lowell
June 7, 2016 at 9:24 am
Viewing 15 posts - 931 through 945 (of 13,460 total)