Viewing 15 posts - 5,356 through 5,370 (of 13,460 total)
A Crud generator simply creates some procedures for you (for Create Read Update Delete:CRUD) based on a template and might assume one row inserts or updates for example.
In a perfect...
Lowell
June 19, 2012 at 7:52 pm
something like this should be pretty close:
if you cannot drop a database user because it is the object owner, this would rroll it back so you can fix that first.
SET...
Lowell
June 19, 2012 at 3:04 pm
and another way:
download and install the SSMS add-on Called SSMS Tools Pack:
that adds a CRUD generator to the right click of any table, which is exactly what you were after:

Lowell
June 19, 2012 at 12:01 pm
the syntax is like this, is this what you were after?
EXEC sp_addrolemember N'db_datareader', N'MyDomain\NewADGroup'
Lowell
June 19, 2012 at 9:50 am
if you want everything previous, then wouldn't it simply be less than or euql to @param?
create proc somename
(@paramname int
)
as
begin
select what ever
from some table
...
Lowell
June 19, 2012 at 6:29 am
left inner join? no such animal exists in SQL, so that's probably not what you meant. it's either a left outer outer or an inner join
whatever your code...
Lowell
June 18, 2012 at 2:53 pm
it depends.
if the user is going to get access to ALL stored procedures no matter what, it's a single command.
if it is a group of specific procedures, then it's...
Lowell
June 18, 2012 at 12:21 pm
like i said, your IF EXISTS query was not quite right.
this works:
--testing on an object that exists in my database:
EXEC TestAddExtendedProperties 'Procedure', 'sp_find','dbo','Database API'
EXEC TestAddExtendedProperties 'Procedure', 'sp_find','dbo','Apples'
ALTER PROCEDURE [dbo].[TESTADDEXTENDEDPROPERTIES] (
...
Lowell
June 18, 2012 at 10:00 am
the EXISTS command you are using now is checking for the specific values as well, , i think what you want to do is to simply check if the Extended...
Lowell
June 18, 2012 at 9:08 am
you are using a format file out of habit, is that it?
can you run the same command without the format file?
ie
bcp egarchivedb.dbo.egpl_casemgmt_activity in R:\ArchivePurge\BCP_Mortgage_email_bodies.txt -T -S xxxxxxxxxxxxxxx\INST1,1433 -t"[||]" -r"[~~]"...
Lowell
June 18, 2012 at 9:04 am
weird that you are getting no rows; my example is syntactically correct and runs fine for me.
can you paste your exact bcp commnad you are using?
did you try via...
Lowell
June 18, 2012 at 8:46 am
i thought you had this solved.
from your previous thread, you said the values were blank and the ned user is oing to update them if desired.
in that case, it's going...
Lowell
June 18, 2012 at 8:21 am
john.p.lantz (6/18/2012)
Thanks - wonder why this isn't tracked in the catalog. We are going to implement some triggers to capture thi going forward.
there's a LOT of things that could...
Lowell
June 18, 2012 at 7:42 am
These lotsnof examples of logon triggers trying to prevent any access at all if they user tries to connect with ssms/access/excel.
Any logom trigger that tries to block bases on...
Lowell
June 17, 2012 at 9:37 am
you do not have create a seperate group in Active directory.
go a head and create a role that has db_denydatawriter as Gail suggested.
roles in SQL Server are not an Either...
Lowell
June 17, 2012 at 6:17 am
Viewing 15 posts - 5,356 through 5,370 (of 13,460 total)