Leaning SQL Server 2012
Hi All,i am planning to learn sql 2k12, could you please guide me where can i start...and provide some good links..Thanks,
View ArticleNeed to drop a database with recovery pending flag set
Stuck on this, I think the device where the log is full and I cannot free any space. The Database is in recovery pendingI just want to drop the database, I don't need or want itAny alter database...
View ArticleGet ID from database, launching a query from code and set NOCOUNT clause
Hello,I need to extract some id from some table in mydatabase. I launching query from code.I would like to know if it is correct what I doSET NOCOUNT ON SELECT ID FROM tblID SET NOCOUNT OFFit is right...
View ArticleTable Creation and Storage
I just downloaded SQL Server 2012 and am trying to create new databases with tables inside of them. However, the tables I create in my query don't get stored in my newly created database; they're...
View ArticleSet out of range value to a time datatype in sql server 2008
Hi,I have a variable set to time datatype in SQL server 2008. I need to set a value more than 24 hrs to that. Is there any way? I get an error like Conversion failed when converting date and/or time...
View Articleregarding sqlserver
Hi, one product is there with 100 pieces,at a time three users are operatinguser1 ordered 50 piecesuser2 ordered 60 piecesuser3 ordered 60 pieceshow can i write sqlqueryplease help me
View ArticleWhich Versions of SQL are compatible with windows 2003 server?
I just purchased SQL 2014 standard and tried to install on my Windows 2003 standard R2 VM server. It will not install and now I'm finding some places on the internet that say it's not compatible????...
View Articleselect only date part in sql serve r2005
from the below query for start date and end date I want to display only date part .tried but couldn't find any solution SELECT EmpName, StartDate, EndDate, day, date, Service, Venue, StartTime,...
View ArticleSQL Server 2008 R2 LogShipping Problem
Hey guysI came back from holiday... and during my whole holiday the logshipping went cracy (didnt run for 3 weeks now) ... the transactionlog is now 40GB large and we dont have that much diskspace left...
View ArticleUpgrade to 2014.
In the 2008 database I have one monster generic table. Which is being used by entire application. The application sends data in big string. I have a function that parses string put that in to that...
View ArticleGetting started with SQL Server - Java And MS SQL 2008 Remote Access...
Hi Guys..Please Help me to Create a step by step remote access configuration guide for java developers
View ArticleGet the list of table's last Inserted/Updated date from a database
Hi All,Good afternoon!Please help me to find the last inserted/updated date from different tables in a database.Consider I have a database called testDB, which contains 20 tables. Most of these tables...
View ArticleSQL Server Agent Stopped in SCM. But shows running in SQL Server Management...
I have SQL Server 2012 installed. in that the agent service is showing running in Management studio with green mark. But no jobs are executed which are scheduled. When i Check in SQl Server...
View ArticleDatabase Copy to another
I have a SQL database on Server1 called DB1. I need that entire database copied over to a different server (call it Server2) each night. I'd like to schedule a SQL Agent job to do this. I'd prefer not...
View ArticleWhen does the given index fire?
Hi Everyone,Suppose there is a table Table1 which has three columns which are not primary keyColumn1Column2Column3If we create an composite index on the columns Column1,Column2 as Idx_C1_C2, then would...
View ArticleMaintaince plan job was failed
Hi Team,I have changed the backup path location local drive to other storage path. after that i have run the job but its failed below error:Message Executed as user: xxxxxx. Microsoft (R) SQL Server...
View ArticleSQL Server 2012 Client Tools Installation in Windows 7
HI Can anyone suggest me how to install SQL server 2012 client tools and what are the components to be selected for Client Instance Installation Please do NeedfulThanks
View ArticleSQL download
Can someone please give me a link to download SQL 2012 for practices puroses, i just started with SQL dont know much please assist. Please provide me with all inofrmation that you believe will help
View ArticleProcedure to insert data in multiple rows
Hi,I need a stored procedure which inserts data into multiple rows..Ex: I need to have 3 columns in Procedure, where col3 has limit in size let's say 500.If user insert about 1500 in col3, i has to...
View Article