Viewing 15 posts - 10,126 through 10,140 (of 13,460 total)
those all look like objects owned by INFORMATION_SCHEMA
since your cursor is hardcoded to sys.objectname, it is trying to revoke sys.COLUMNS , which does not exist, instead of INFORMATION_SCHEMA.COLUMNS , which...
Lowell
January 12, 2010 at 11:03 am
the list of tables is usually child tables that reference the original table via a foreign key;
if the table is going to be dropped and rebuilt completely, rather than a...
Lowell
January 12, 2010 at 9:58 am
falcon59x (1/12/2010)
Thanks for the response they are really helping. When I incorporated searching for the schema instead of just using sys. I was actually able to knock 26 down...
Lowell
January 12, 2010 at 9:39 am
i found out that in SQL 2005 and above, some of the data management views have the client ip address, and you can narrow it down to the specific SPIDs:
this...
Lowell
January 12, 2010 at 8:46 am
another idea is to add a column of type rowversion and use that as a semaphore for whether the person should update;
so for example:
data example:
create table myTest(testid int identity(1,1)...
Lowell
January 12, 2010 at 6:40 am
It depends on your approach. you can move the code that was being executed in the stored procedure directly into the trigger; that way you can insert from the INSERTED...
Lowell
January 11, 2010 at 10:36 pm
thank you so much for the sample data! makes it so easy to help!
you can do it by joining the table to itself, with a WHERE statement that is a.identity=b.identity...
Lowell
January 11, 2010 at 10:29 pm
yeah i had read an article about how to update 2005+ system catalogs as well; after all, service packs need the ability to do it, so it has to...
Lowell
January 11, 2010 at 10:22 pm
there is a really good article here that i refer to all the time:
it shows how to set up your keys, and then a bunch of examples in TSQL to...
Lowell
January 11, 2010 at 7:37 pm
yes Anam, you can...the last post i made with a code example did exactly that...the code was assuming there is a column named recordid, and it was the PK identity...
Lowell
January 11, 2010 at 7:28 pm
davidsalazar01 (1/11/2010)
I'm trying to retrieve only records that are ONLY 8 digits long and the datatype of the column is an int. Then once I retrieve those records...
Lowell
January 11, 2010 at 6:26 pm
ok i think i'm following along; i created a brand new database in SQL 2005, and ran the following script to generate the revoke statements; i think the difference for...
Lowell
January 11, 2010 at 3:22 pm
lets look at the details....show us the SQL you are using to identify objects you want to take away access from; that will really let us help you better.
if it...
Lowell
January 11, 2010 at 12:21 pm
since 2005, it's no longer possible. the old SQL 2000 syntax is ignored.
what is it you think you want to change, that cannot be done with the normal commands?
Lowell
January 11, 2010 at 11:52 am
sorry i was confusing the express versions to evaluation versions; like you said, evaluation versions are timelimit handicapped, but have everything the developer/enterprise versions have.
express version doesn't have all that...
Lowell
January 11, 2010 at 11:50 am
Viewing 15 posts - 10,126 through 10,140 (of 13,460 total)