Viewing 15 posts - 5,851 through 5,865 (of 7,636 total)
Yeah, sorry, I forgot: "CREATE APPLICATION ROLE..." is the preferred way to add an AppRole in SQL 2005.
August 20, 2008 at 9:11 am
MrBaseball34 (8/19/2008)
...
I KNOW that something needs to be done to this table as...
August 20, 2008 at 9:06 am
I was thinking along similar lines, vladan.
It seems to me that the OP was confabulating two contradictory requirements in PRNG's (Pseudo-Random Number Generators), the "Uniform Coverage" requirement and the "Long...
August 20, 2008 at 7:14 am
Thanks, Mohamed. I got the idea for this question because I keep making this mistake myself.
August 19, 2008 at 8:32 pm
MrBaseball34 (8/19/2008)I'm sorry, that was from a different DB than the one that I was running the script on.
I have placed code in the script to remove IX_ptLabResults_2, anyway.
Any chance...
August 19, 2008 at 8:25 pm
Ah, this is one of the worst dialog sequences in SQL Server:
1) In SSMS, right-click on the user's name in the database and select properties
2) select the "Securables" pane, click...
August 19, 2008 at 3:40 pm
psangeetha: As I recall it, here is the procedure:
1) Create AppRole in the App DB. Remember the Role name and password.
2) Give the user Connect-only access to the DB:
...
August 19, 2008 at 1:40 pm
avamin: That is how you limit an app to SProcs. To force user to only use the app you need something like AppRoles or Certificates.
These are two independent...
August 19, 2008 at 1:27 pm
Glad I could help. (eventually) 🙂
August 19, 2008 at 12:56 pm
Carl Federl (8/19/2008)
If this SQL is run, statistics time reports duration and cpu of of zero:
set statistics time on
insert...
August 19, 2008 at 11:25 am
great article, Jeff!
August 19, 2008 at 11:17 am
OK, here is how you want to do this:
Declare @ZeroRows as int
Declare @MultiRows as int
--First Insert any non-matching rows into Zero_tbl
Insert into Zero_tbl
Select *
From toprotect_tbl P
...
August 19, 2008 at 10:34 am
blnbmv (8/19/2008)
explanation: I want to insert these records into some other T1 table where the matching records...
August 19, 2008 at 10:25 am
OK, that's the SQL Server 2000 thing.
Change "varchar(max)" to "varchar(8000)" (and hope it fits).
August 19, 2008 at 9:04 am
Viewing 15 posts - 5,851 through 5,865 (of 7,636 total)