953 reputation
624
bio website about.me/DavidForck
location Missouri
age 26
visits member for 2 years
seen 19 hours ago
stats profile views 40

I'm a database developer for a CRO that does pharmaceutical and chemical studies. My duties include: designing and building databases, troubleshooting database performance issues, building SSRS reports, installing and configuring SQL Server (2005 and 2008), configuring SQL Server security, configuring SSRS security, and some other stuff.

I also build on-line surveys in PHP using a MSSQL Server 2005 backend for an Economic Development Consulting company.


Apr
29
comment What could cause the wrong ID to be inserted?
Interesting. I am going to look into this.
Apr
26
comment What could cause the wrong ID to be inserted?
yes, the first one sets the id to 0, so when the next record is inserted sql server takes the current id, adds 1, and gets 1. the next one the first id i would get is 2.
Apr
24
comment What could cause the wrong ID to be inserted?
@jnk we are not inserting data into identity columns anywhere in the application.
Apr
16
comment Prevent users from using power pivot excel connections to a database
Also, @kin, power pivot shows up with the application name "Microsoft Office 2010". I set it up to block anythign with "Office" and it seems to work. Testing it out with my boss now.
Apr
16
comment Prevent users from using power pivot excel connections to a database
well it was my boss that was inquiring about this, he fould the permission hole. I don't want users connecting to my oltp databases unless it's through an application.
Apr
12
comment What could cause the wrong ID to be inserted?
@AaronBertrand very rarely, mainly when we need to clear out the data in a database after testing has been done. Once a database hits production we don't clear the data.
Apr
12
comment What could cause the wrong ID to be inserted?
I edited my question to include that my table already had data in it when i deleted the data.
Apr
12
comment What could cause the wrong ID to be inserted?
@MartinSmith deleting the record and reseeding is the pattern that i've been following. Truncate doesn't work on most of our tables since they have FK relationships.
Mar
13
comment Why is this user “Admin” created in all databases?
I was going to say that it was probably in the Model database. Good job figuring it out.
Mar
13
comment What alternatives exist when a table requires too many foreign keys?
I have to agree with Aaron Bertrand, if your design requires you to max out the foreign keys sql server supports, it may be time to consider a redesign.
Feb
14
comment Adding indices to views
essentially, maybe you should be looking into a data warehouse. en.wikipedia.org/wiki/Data_warehouse
Feb
14
comment Adding indices to views
a tangential approach may be creating an etl process to cache the data. how often does the data change, what's the need for the data to be up to date? things along those lines are necessary to ask.
Feb
14
comment I have table with 17 Indexes if i add 1 more index for search in two columns
this question's a bit too open ended here for the se format. I did write an answer that should point you in the right direction though.
Feb
6
comment Does SQL Server care about the location of accounts in Active Directory?
@nic yes, that is what i mean.
Feb
6
comment SSRS appears to be ignoring Permissions set using Report Manager
One more thing, could you provide a screen shot of the permissions you're setting?
Feb
6
comment SSRS appears to be ignoring Permissions set using Report Manager
Do you have active directory where you're doing this? Also, are you naming the users as servername/username in SSRS?
Feb
6
comment Restore backup fails - not enough disk space
Agreed. The original database needs to be cleaned up before they have any hope of restoring that database on an express version (10gb limit on 2008+ right?)
Feb
4
comment Cannot delete publication
that first thing that comes to my mind is it might be a permissions issue.
Feb
4
comment SSRS appears to be ignoring Permissions set using Report Manager
On the Home (root) folder, if you go to Properties - Security, do you see the local user account there? Is this where you set up the local user?
Feb
2
comment How to return all values from a stored procedure casted as varchar(max) in sql server due to PHP mssql_query() ntext issue?
hmm, what's the version on your sql server, @gloomy.penguin ?