SQL Browser Services use
I have SQL Server 2000 and SQLServer 2005 on my machine. The SQL Server 2005 has a named instance. From the server in Management Studio, I can load, and interact with both instances. When I try to...
View ArticleDynamic Backup and Restoration of data with 2 databases
Good Day People, The idea behind what i'm doing is fairly simple, but the explanation is complicated: I want to have, at any given point in time, 2 Databases on a server....
View Articlechanging system date not reflacting in SQL Server 2000.
Hi I have a procedure which is deleting old tables for that testing purpose I changed system dateI chaged system date and create table in Database but Table creation date showing as current Data,I ran...
View Articlegetting dynamic column values in sql server
i have a table with columns LeaveRequestId, employeeid i want to generate leaverequestid dynamically at this type when i enter employeeid=1 leaverequestid should generate LMS1001 lms1(here 1 means...
View Articlesql network server
Dear all I got that error when I was trying to connect to a server over IPObject reference not set to an instance of an object. the code for that string connectionstr = string.Format(@"Data...
View ArticleMicrosoft SQL Server 2014 is (almost) here; Visual Studio 2013 is here
SQL Server 2014: Unlocking Real-Time InsightsLearn more about SQL Server 2014Visual Studio 2013 and many of the Application Lifecycle Management features that they includehave fun,
View ArticleLogon failed for login due to trigger execution. Changed database context to...
Hi All,I deleted a database while I was restoring it. after I was not able to login. it throws error like "Logon failed for login due to trigger execution. Changed database context to ‘master’." when...
View ArticleCan we able to sync SQL and Excel in both ways?
Hi All,Can we able to sync SQL and Excel in both ways?Thanks in advance.
View Articlemodifying 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 ArticleSystem DMVs data in graphical view
Hi, I would like to capture system DMVs data for monitoring SQL instance and store it into tables. Is there any way I could display this data in graphical view for my management. Should I use MS Report...
View ArticleConcatenating Three Columns
Hi all—I am new to SQL server and I am trying to concatenate 3 columns – one numeric and two character. The 3 columns look like this to begin with:SKILL_CATEGORYCATEGORY_NBRSKILL_TITLEA1Identifying...
View Articledate filter between a financial year
Hello Alli have to filter mydate date column from sql table mytable for a particular financial year in select. i have a global variable yr char(4). in yr current financial year is stored. for example...
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 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 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 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 Article