SQL 2000 Not Really Gone
In preparation for SQL2005 on my dev machine, I uninstalled all the SQL 2K components with the Add / Remove Programs. I installed the SQL2K5 Dev Edn w/o problem and it's been running great.The other...
View ArticleHow to overrite the file if it already exist?
Hi,I when i am trying to overrite the file which is alredyy exist in the directory i am facing below error"Can not create the file as it is alredy exist in the path"i am using below mentioned...
View ArticleUnable to fetch Details
Hii created a view with a simple join querythere are 2 rows with orderid as null, i am unable to fetch the details when i give WHERE Condition as "select orderid from joins where orderid=NULL"Query...
View Articlecsv string to rows
CREATE TABLE [dbo].[Table_2]( [items] [nchar](10) NULL, [url_desc] [nvarchar](250) NULL, [url_desc2] [nvarchar](250) NULL, [url_desc3] [nvarchar](250) NULL) ON [PRIMARY] GO INSERT [dbo].[Table_2]...
View ArticleCannot reach SQL 2005 E_Learning
I cannot successfully participate in the SQL 2005 E_Learning course at this link:https://www.microsoftelearning.com/sqlserver2005/And accessing the course on thisl link:Course 2936: Installing and...
View ArticleSQL Server 2014, Do not stay behind!
For those who have not yet working with next version of the SQL server, It is time to start learning! I want to believe that most of the DBAs already working with the beta versions, for months. Soon...
View Articlehow to make script of mdf file in sql server 2008
i created database in sql server 2008 , but mistakenly someone delete the data base. then i recover those files through recovery software, files which are recovered are in .mdf format. now how can i...
View ArticleSQL Server Remote Allow Connections
Hi AllI am trying to connect to a remote server which has SQL Server Express on it.I am unable to connect to the SQL Server. I have Management Studio Express installed on my local machine... when I...
View ArticleProblem attaching mdf file in sql server 2008
hi...! I have an mdf file of sql server 2005 database now i want it to attach in sql server 2008 R2 but when i try to attach it, it gave me error saying. Fail to retrieve data for this request. An...
View ArticlePerformance Issue OnSingle Database
Hi,I have a performance issue on a single database on a SQL Server that has 32 databases. All other databases appear OK.How do I begin investigating this?I'm running SQL Server 2008 R2.RegardsPaul
View ArticleCalendar in SQl Server 2008
Hi , I want to print a calendar in SQL Server 2008 based on the Month entered. I should not use date functions, how can i get a calendar without using date functions?Please help me with the code.Thanks
View Articlequery tuning
1. In my project while loading 10000k records from an java app it seems to be getting later in which the Stored Procedure tooks lot of time to process it, Please let me know the general causes for the...
View ArticlePrint calendar without using Date functions
IF OBJECT_ID ('dbo.Calendar1') IS NOT NULL DROP PROCEDURE dbo.Calendar1 GO CREATE PROCEDURE [dbo].Calendar1 --4,1991 ( @month int, @Year int ) AS BEGIN declare @startdateofMonthYear date,...
View ArticleError: Could not find stored procedure !!
Hi,Error: Could not find stored procedure.I Installed the SQL Server SP2 and the error still occurs when ever I call the stored procedure from my windows app!! Any Help ?
View ArticleDate selection and date format in MSSQL
i have to make a select transaction with a microsoft SQL db. I have to select the entry in a given range of time. So i've made my little form with the datepicker of jquery. The datetime field in the...
View Articlequestion about different query results with wildcard
Hi, I'm working with a third party app on SQL Server 2000, and from what I can gather, programmed in C# & VisualFoxPro.When we search with Note contains 94949we get 571 results, when we search...
View Articleimport tables from MS Access
Hi all,I've just installed the Sql Server 2005 Express Ed + Management Studio Express and I can't get how to import data from a MS Access 2003 file. From what I've read is not possible to do through...
View Articleoptimize,Stored proc has 34 left join,18 subquery
Below Stored procedure has 34 left join , 18 subquery which goes dead in production server which have lakhs of records. Any suggestion / tips / opinion regarding optimization select...
View ArticleLinked Server connection timeout
OLE DB provider "SQLNCLI10" for linked server "CHC-SQLREP01" returned message "Protocol error in TDS stream". OLE DB provider "SQLNCLI10" for linked server "CHC-SQLREP01" returned message...
View ArticleHow to restore system databases?
If SQL server system databases crash, what will happen?If sql server system databases crash, how to fix the issue? Any difference to fix for master, msdb,model temp and distribute?Thanks
View Article