Viewing 15 posts - 10,126 through 10,140 (of 13,461 total)
all my snippets I'm looking at do not have a space after any of the flags, for exampe -S TECH-01
should be -STECH-01
January 12, 2010 at 11:37 am
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...
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...
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...
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...
January 12, 2010 at 8:46 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...
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...
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...
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...
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...
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...
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...
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...
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?
January 11, 2010 at 11:52 am
Viewing 15 posts - 10,126 through 10,140 (of 13,461 total)