modifying data in sql server 2008
Hi,I have employee table employeeid,name,joiningdateand i have one more table employee leave balanceemployeeid (foreign key), current leave balancewhen we update the 'current leave balance' that...
View Articlecreate database
Dear all while I am trying to create database..I got these errorAn attempt to attach an auto-named database for file C:\Documents and Settings\John Khalil\Desktop\s.mdf failed. A database with the same...
View ArticleSQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for...
HiI have a test server set up with apache and php on a windows machine and i also have mysql and normally grab data from a mysql database but i am wokring on another project and to shorten the time and...
View ArticleSQLCMD fails - HResult 0x2, Level 16, State 1
When I SQLCMD in the CMD window, I get an error message "HResult 0x2, Level 16, State 1 Named Pipes Provider: Could nt open a connection to SQL Server [2]. Sqlcmd: Error: Microsoft SQL Native Client :...
View ArticleCan SQL 2005 Management Studio be installed with SQL 200 Enterprise Manager...
I have used SQL 2000 Enterprise Manager for a while. Now we have SQL 2005 databases. I tried to installManagement Studio from the SQL 2005 Toos website to the same computer. After installation, I...
View ArticleFailed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)
Hi,I'm having the following problem:TITLE: Connect to Server------------------------------Cannot connect to <Servername>.------------------------------ADDITIONAL INFORMATION:Failed to retrieve...
View ArticleUnable to set BUILTIN\Users to sysadmin
Hi,I am trying to set BUILTIN\Users as sysadmin using command line but it doesnt seem to work, can anyone see where I am going wrong. I am using SQL08 R2 Expresssetup.exe /FEATURES=SQLEngine,SSMS /Q...
View ArticleHow to fix data source type "200" not found in data type mapping file?
Hi All,Can anyone help me How to fix data source type "200" not found in data type mapping file, while export sql data to excel? Thanks in advance.
View ArticleSQL Server Crash - Model In Recovery
Hello people of technet, This is my first post here so I hope it's in the correct area. I'm having the same issue with a few of my SQL Server 2008 R2 machines. It appears for some reason I haven't...
View ArticleWhich one is the first priority between DDL and DML in sql server?
Hi, While executing the following scripts at one shot, I'm getting error message that is "Invalid column Name 'Subject'." May I know why this happened? Is there any priority between DDL and DML...
View ArticleT-Sql
i have 2 tables in a database table emp and table deptemp table has coulmns as emp_name, emp_salary,dept_iddept table has coulmns as dept_name, dept_idi want to get departmentwise total of employee...
View ArticleMoving database from one drive to another on same server
I am new to sql server world as I am a controls engineer who is being asked to manage an asset management system at our facility. We have a system that uses SQL 2005 Express. My database is on drive C,...
View Articlegetting position in sql server
Hi,str='FR-R92B-58'i want to know the secong hyphen position
View ArticleSQL Server 2008 installation on windows 8
Hello Everyone,After doing enough homework about the installation of Sql 2008 on windows 8, I am still not clear about the basic steps to do my setup successfully.I read many such similar posts, but my...
View Articlegetting some data from a string in sql server
Hi,str=' MAHESWARI.MSBIDEVELOPER@LEVANTSOL.COM'in this string i want to get 'MSBIDEVELOPER'
View ArticleT-Sql
i have 2 tables in a database table emp and table deptemp table has coulmns as emp_name, emp_salary,dept_iddept table has coulmns as dept_name, dept_idi want to get each employee name with his salary...
View ArticleHow to fix sql data export issue?
While exporting sql data to excel, this issue occurs, can anyone help me how to fix this?
View ArticlePivot SQL Data
I need to write an sp as belowExisting Data Emp_IdEmp_NameEmp_Age1001Ravi251002Gopal271003Kumar301004Suresh24New Data...
View ArticleSQL RAM begrenzt - Task Manager zeigt mehr verbrauch an
Hallo, ich habe folgendes Problem. Ich habe einen SQL Server mit 4 GB RAM und den RAM für SQL auf 2048 MB begrenzt. Wenn ich nun im Task Manager schauen, unter Prozessen sehe ich das sqlserver.exe...
View ArticleDatabase Size?
Hi All,I have a database with around 22GB and free space available is 7GB in it. But when I take a backup of it surprisingly showing 7GB only. Does it mean space available is the actual size of the...
View Article