Restore from mdf and ldf
hi everyone,hopefully I can get a definite answer from here, please help with this...I have a number of DB 's that are backed up every 12 hours to an external disk, no need to backup log files as data...
View ArticleImport Active Directory to MSSQL 2008
Good Day,I would like to ask some Information how to import my Active Directory User and Groups on MS SQL 2008, So that my imported data will be Logon to my Application. Thanks Eos.
View Article.msd -" You dont have permissions to open this file"
when i connect vb studio to sql server 2008 .msd file, it is showing error named " You dont have permissions to open this file". So i am not able to access db. What should i do.Regards Syed
View ArticleSQL Server Evaluation Period. Can I resintall again?
I have SQL Server evaluation edition installed some time back and it got expired now. I was using it as a lab for self learning. If I uninstall and install the evaluation edition again , will I be able...
View ArticleUsing having
I have a table of race courses. Some races only have 1 course, while others may have >1.The courses are closed at predetermined times so there can only be one open course at a time where the...
View ArticleValidating data on insert or update
Hi I am very new at this. My questions is when data is being inserted or updated how can I trap that, check data and modify it before it is inserted or updated? Thanks Regards
View ArticleCore, Socket, Hyper Threading Information using Query
This might be a basic question and may not be related to SQL Server. But I would like to know how to find out the number of cores, number of sockets or hyper threading information using SQL query. Also...
View ArticleSQL Server 2008 R2 not installing
In attempting to install SQL Server 2008 R2 x64 on my laptop (Windows 7 Pro SP1 x64), I encountered the following error(s): Any help would be appreciated.Overall summary: Final result:...
View ArticleStored procedure to return auto incremented number every time its called.
I'm looking to create a simple web service that will make a call to a ms sql server. The database should then return a number that is simply incremented by 1 each time its called. Notice that I'm not...
View ArticleHow to generate single row output
Good day! I would like to ask how can i generate an output on a single line. Here is my code:Select Wo.wonum as 'Work Order Number',WO.assetnum as 'Asset Number',WO.reportdate as 'Creation Date &...
View Articleerror in management studio 2012 installation
Overall summary: Final result: Failed: see details below Exit code (Decimal): -2068054007 Start time: 2013-06-07 19:01:59 End time: 2013-06-07 20:27:31 Requested action: Install Setup completed with...
View ArticleSQLServer.exe significance?
Whats the difference in starting the SQL Server in command prompt.SQLServer.EXE andNET START MSSQLSERVER?Thanks and Regards,Shanoof Basheer
View ArticleTracing where an application's connection comes from
Hi,I'm not sure if it's possible or if I even have the right discussion group but here goes.I use the below SQL to find what applications are connecting to databases:USE master; GO SELECT spid,...
View Articlecan any one give me the sqlserver2008r2 installation steps in windows8 Path?
Hi,When ever i am installing sqlserver2008r2 in windows i am getting comparability errors.regardsAnji
View ArticleStored Procedure
DROP PROCEDURE CODESGO CREATE PROCEDURE CODES(@P_FCODE BIGINT,@P_LCODE BIGINT,@P_TNAME VARCHAR(50)) AS BEGIN DECLARE C1 CURSOR FOR SELECT caption,codestart,codeend,codecatfrom hcustom where caption...
View ArticleSQL server 2012 book
Hi,Can anyone suggest some names of good learning book for SQL Server 2012 which covers all the basic topics like(select,insert,update,delete and so on up-to more complex queries). I want to buy it...
View ArticleMatching data from two tables using simple query.
I have two tables i write a query to get datas from first table where 'empid' is matching with second table. Table name 1:tblBillPay_details Table name 2:tblBillPayViewID Query is: SELECT...
View Articlems sql server Import and export wizard roles
Hiwhich is the least previleage role that can access Import and Export wizard of Ms Sql server?SDhiraj
View ArticleHow to use a variable for a Server or Database name in FROM Statement
Hi, I was wondering if anything like the below is possible? DECLARE@DB1 CHAR(25),@DB2 CHAR(25),@SERVER CHAR(25) SELECT @DB1 = (SELECT PARAM_VALUE FROM UTIL_PARM WHERE PARAM_ID = 'DB1') --Returns...
View ArticleAccess & SQL Server Error Message
Hello,I have an access front end with sql server back end.Some times I get an error message in a continues form:"Collisionwhen writing" -"This record was changed by another user after you started to...
View Article