SQL server Joins
I am getting a syntax error every time I try to run these codes: select Name, Gender, Salary, DepartmentName from tblEmployee JOIN tblDepartment ON tblEmployee.DepartmentId = tblDepartment.Id I...
View ArticleHow get 1 back to ID column?
Now, I have a table, tTest at a MS SQL server database. Only 2 columns for it, ID and Name. ID is the primary key, and its seed is 1 and will automatically increase by 1 when a new record is inserted....
View ArticleCumulative updates for SQL 2008r2 sp3
Hi Experts,I doubt that we have any cumulative updates for SQL Server 2008 R2 sp3, I am trying to find a latest cumulative updates, could not find in google.my sql version is :Microsoft SQL Server 2008...
View Article.
Hi,Im trying to get sum of daily hours of the particular employee between two dates something like below.But I didn't get any solution .Can anyone please share your ideasFor Example:EmpName...
View ArticleSQL Server Software Assurance (When buying with a Microsoft EA)
As the title suggests I'm looking to purchase SQL server 2014 with SA. I also have an Enterprise agreement with software assurance.When purchasing SQL licenses, do i also need to purchase SQL licenses...
View ArticleHow to remove a table from Replication
Version: SQL 2008 R2Problem: I have a user who wants to remove table, but when she tries to remove it ( drop the table), she gets an error:===========================================================MSG...
View Articleget sum of daily hours
Hi,Im trying to get sum of daily hours of the particular employee between two dates something like below.But I didn't get any solution .Can anyone please share your ideasFor Example:EmpName...
View ArticleCombine two row in sql
Hello Guys,Is it possible to create this kinda output.Input:Table1Column1Column1A2B3C4DTable2ABCD0100101001110101Output:BACBCDBD Actually i want to Combine two different table column deepen where 1...
View ArticleDatabase objects are reverting to previous version randomly - unable to track...
Hi,In one of my database some objects are reverting to previous version (only some.. not DB restore). I have checked backup and restore logs for this DB. It is not DB restore.I have created database...
View ArticleIssue with full text catalog
Hi All,I have received a request from application team that when they are trying to run a repair tool against the full search catalog, they are seeing below error message. Any help would be greatly...
View Articleax service is not being start
ax service is not being start in my laptop after restored data of the production server.error is
View ArticleHow to insert/update in Table - in another SQL Database
HiWe have employee expenses data entry application in our company. Developed in Dot net with SQL server.Every employee will enter the entry once it is saved , the same data we should write into...
View ArticleHow to setup a static cursor
I have a cursor that reads records from a table. I do not want any changes to the table data to be reflected in my cursor. My cursor does not do any direct updating. I do use an UPDATE on the base...
View Articleserver editions of sql server and specialised editions of sql server
hi,iam new to sql server. i have started reading an article in MSDN regarding the editions of sql server.the article says with the different headings as "server editions of sql server 2008r2"which...
View ArticleCase filter in where condition based on parameter
hello all,I have one filter in my Storew procedure ..@is_Delay_Files Bit,now , my Col1 have values of two types >0 and <0 (i.e. -1,-2 etc.)now , what i want to achieve is when i pass 1 to...
View Article32 bit version on a 64 bit OS
Hi,I have been using SQL server now for a year (self taught). I have recently been given a new laptop by work and advised to install my own SQL Server from my MSDN subscription.I have however...
View Articleunable to login to management studio
hi,I have installed sql server 2008r2 express version sucessfully but iam unable to login to the management studio.i took a forward step to check the sql server servies but the list depicts me empty....
View ArticleHow and where to check when was the password of account got updated for...
How and where to check when was the password of account got updated for windows services?Rahul
View ArticleMigration from Clustered environment to VM
SQL instance : 2008 R2Problem: We are planning to migrate our sql server from clustered environment to VM. There are several SQL instances on that cluster.Are there any instructions/tools available...
View ArticleI need help writing a stored procedure
How do I update several tables with columns that store social security number as a single transaction? I have over 70 tables to update the ssn with correct ssn.The database I'm working on is not...
View Article