Viewing 15 posts - 541 through 555 (of 1,219 total)
Read and write data, but not being able to alter any objects? In that case do
ALTER ROLE db_datareader ADD MEMBER [domain\user]
ALTER ROLE db_datawriter ADD MEMBER [domain\user]
or, if you are on...
September 20, 2013 at 4:28 am
With high safety, the statement does not complete until the update has been hardend in the log on the mirror. If you have a slow network connection, or the mirror...
September 20, 2013 at 1:27 am
Dharmendra JKT (9/20/2013)
I restore backup database on development server, and i want to give permission for new restored database to a existing user on development server.
OK. But what permission? Should...
September 20, 2013 at 1:21 am
sf.onlineforums (9/19/2013)
Will there be any performance degradation since most queries first go with Supplier and then date? In other words, do you see any chance of table level locks?
That's indeed...
September 19, 2013 at 4:15 pm
dan-572483 (9/19/2013)
September 19, 2013 at 4:04 pm
I would suspect that when you create a database manually, you are logged with sysadmin permissions, which you hopefully you are not when you are logged in from the application....
September 19, 2013 at 3:58 pm
With the tabale you posted there is a cardinality problem.
The syntax UPDATE FROM is scorned by some people, because it has a possible ambiguity. I don't share that opinion, because...
September 19, 2013 at 3:50 pm
10 and 41 are good to include as well.
Since you are tracing a single statement (plus triggers), sp_sqltrace can be useful. It's available on my web site:
September 19, 2013 at 3:41 pm
Did you set mirroring to be synchronous or asynchrounous?
Could you post the code for the UPDATE statement?
How many rows does it affect, appoxamitely?
September 19, 2013 at 3:37 pm
Your question is not clear. You say that you want to give permission to new user in the prodcution database. But in that case, why do you mention the fact...
September 19, 2013 at 3:36 pm
Just to add what Andreas says. There are various ways you can set up the server so that they cannot connect directly to SQL Server from Excel. However, it is...
September 19, 2013 at 3:29 pm
To be technical, it is not a DMV you are looking for but a catalog view. (The difference is that a catalog shows information persisted in the system catalog, while...
September 19, 2013 at 3:22 pm
I woudl guess this is possible with the appropriate .Net routine. I guess that there might be assemblies out there to manipulate PDF documents. You may be able to add...
September 18, 2013 at 4:18 pm
First, you should use sys.columns, not syscolumns. Next you should name your constraints:
if not exists (select * from sys.columns where object_id=object_id('ConfigTB') and name='DBVersion')
alter table ConfigTB add DBVersion...
September 18, 2013 at 4:15 pm
I would do it with a UNION ALL query. One for the interval, and two SELECT TOP(1) queries to get the values just outside the interval. An index on DateTimeStamp...
September 18, 2013 at 4:04 pm
Viewing 15 posts - 541 through 555 (of 1,219 total)