issue regarding schema and SP
Hello All,One of our client have issue related to schema and Stored procedure.on a database, when we check the stored procedure by using (select * from sys.procedures where name='logout') it gives 2...
View ArticleMicrosoft SQL server error:233
I am getting this error when connecting to sql. I cant get into my databases now- its pretty ugly. "A connection was succesfulyl established with the server, but then an error occured during the login...
View ArticleSql Server 2012 error log message information
Hi Team,i am installed sql server 2012 two months back, to day i check the sql server error log it showing below error message.Note : I my SQL server there is no SSIDB.error log message:2014-12-02...
View ArticleFinding the owner of server and database objects created by the actual user...
Hello,So, we've got users who don't have SQL logins or database users that map to their actual Windows account. Instead, we've got a number of Windows groups with SQL logins created that are mapped...
View Articlecant connect to an old MSDE db through code
hi all,in our product there is an old software which has this installer, it installs MSDE 2000 with no password for SA user. Then after the installation there is another exe someone coded, which...
View ArticleCannot release the unallocated space in database file
Database DetailsDatabaseDatabase SizeUnallocated SpaceMy_Database292250.00 MB35906.95ReservedDataIndex_SizeUnused262392888 KB232028144 KB30308840 KB55904...
View ArticleError 18456 Severity 14 State 38
Hi,I am using SQL Server 2012. I find below messages popping up in my error log after every minute.Login Failed for user "domain\abc": Reason failed to open the explicitly specified database AAZ...
View ArticleI need to over write the job outcome
Hi,I am calling a job 'x' from job step of another job 'Y'. As the the purpose of the job step is to call another job, I included the belowcode in the job step to wait until the job completes.EXEC...
View ArticleMsg 3013, Level 16, State 1, Line 3 BACKUP DATABASE is terminating abnormally
Hi All,This is on sql server 12.0.2254. I started getting error messages when our maintenance plan for backups ran. Digging through the backup plan log file yielded the following...
View ArticleDelete All Data Collector objects in Database
Hi i need to desactivate and delete all objects (Jobs, procedures,...) on a database that were created when is activated the data collector. can someone describe all the things that i have to do...
View ArticleCOLUMNPROPERTY on a vew does not show ID column as identity
Hi everyone,I am trying to figure out why COLUMNPROPERTY'IsIdentity' for a view is not equal to 1 when for the underlying tables it is returned correctly =1.SELECT COLUMNPROPERTY(...
View ArticleThe gap between "Max Server (MB)" and sys.dm_os_memory_clerks?and sum memory...
Hello,I have a SQL 2012 instance, i want to know is there a dmv (or from dbcc memorystatus ) i can check how sql server use memroy accurately? There is still a gap between "max server memory (mb)" and...
View ArticleLog Shipping Vs Mirroring
Define Log shipping and mirroring ?What are the main differences between Log shipping and Database Mirroring?bhagee
View ArticleCalling All Wise Men! SS DBE Gurus Needed! Apply Within! No One Turned Away!
Calling all wise men!Join us and rejoice! The time for giving is upon us again!A time for family (community) and gifts of knowledge!Why not wrap up a little something extra special this year.After all,...
View Article"SysAdmin" server role
Hello,I am reading that the "Sysadmin" server role can perform any activity on the server. I am almost new to SQL-Server and was wondering if this means that the Sysadmin can access any database or I...
View ArticleHow to Identify the SPID of a Job currently running in the server.
Hello Experts,One of the job is running in my server longer period of time. The server is very bg with at least 500 connections. The production was stopped and I was even trying to kill to that job...
View Article"Orphaned" Foreign Keys
I am currently working with two SQLServer databases whose origins are WAY before my time. Actually, at one time I believe the two databases were one, but were then divided. I don't know which...
View ArticleMigrating from diffrent instances of sql to a new server
Hello,I have 3 instances of Sql (2008 R2) on 3 different servers. The versions are (10.50.2550.0 SP1 Standard Edition (64-bit), 10.50.2550.0 SP1 Standard Edition (64-bit)). The goal is...
View Articlesyntax error for option(maxrecursion 0)
hi all,i have a function and if i execute it within sp i'm getting recursion error The statement terminated. The maximum recursion 100 has been exhausted before statement completion.when i included...
View ArticleINSERT ... EXECUTE - How to add additional data
Hi community,I have a SQL that consolidates blocks of records with into a larger records. These rows are inserted into a new database. The consolidation is rather complex. So I wrote a CLR Stored...
View Article