Viewing 15 posts - 196 through 210 (of 5,393 total)
The column "origin_datasource_id" in the conflict table contains the "subid" column in the MSmerge_subscriptions in the distribution database.
Query the MSmerge_subscriptions table using that origin_datasource_id as a filter for subid and...
February 15, 2016 at 8:05 am
That plan is probably the best available to SQL Server to execute that query.
Please post:
1) table and index definitions
2) the exact query you are running
3) the actual execution plan...
February 15, 2016 at 7:09 am
History of backups is in msdb.dbo.backupset, backupmediaset and backupmediafamily.
Try looking in there and see what's the application name that takes those backups.
February 15, 2016 at 7:05 am
Sysadmins can be found joining sys.server_principals with sys.server_role_members.
DB_owners can be found joining sys.database_principals with sys.database_role_members.
The other permissions that allow to drop a database are CONTROL at the database level and...
February 12, 2016 at 1:01 am
Unsuccesful logon attempts are logged in SQL Server ERRORLOG. What is the login name you are seeing? Is it ANONYMOUS LOGON? Is it the correct Windows user name?
February 12, 2016 at 12:46 am
Never used it, but it looks like it can act as a standard SMTP server.
February 11, 2016 at 7:43 am
Your question is unclear to me. This is a good place to start: http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
February 9, 2016 at 2:09 pm
Hugo Kornelis (2/5/2016)
February 5, 2016 at 2:54 am
georgheretis (2/5/2016)
ok thanksbut when i am try to run there is an error
Could not find stored procedure 'agent.dba_wait_job_completion'.
Sorry, I edited the code.
February 5, 2016 at 2:52 am
sp_start_job does exactly what the name suggests: it starts the job, but doesn't wait for it to finish.
In this case, if you want to have a separate job to execute...
February 5, 2016 at 2:32 am
Mapped network drives are visible to the current user only. SQL Server runs as a service account that cannot see your mapped drives.
Use a UNC path instead. You won't be...
February 5, 2016 at 2:23 am
February 5, 2016 at 2:18 am
Another suggestion: don't convert datatypes if you don't absolutely need to. Those CONVERT(date,something,101) will prevent you from using indexes on the columns.
February 5, 2016 at 2:12 am
Suggestions:
1) It's a performance question, so you'd better include an execution plan in order to let people understand where the problem lies. Post the actual execution plan, not the extimated...
February 5, 2016 at 2:10 am
Viewing 15 posts - 196 through 210 (of 5,393 total)