SQL error
System ErrorYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5anybody know how to correct this?Roger.m
View ArticleDatabase "Creation Date" after restore
We backed up a database on one sql 2008 server and copied the dump to another sql server. The dump date is "9/6/2013". The database was actually restored today "09/09/2013" at 6:30am but Management...
View ArticleSql: are following two queries different (Left out join 'on' vs. 'where')?
Declare BigTable table (KeyColumn1 int, KeyColumn2 int, KeyColumn3 int, KeyColumn4 money, column5 nvarchar (25))Declare @Temptable table (KeyColumn1 int, KeyColumn2 int, KeyColumn3 int, KeyColumn4...
View ArticleScript For Record Count
Application is suffering performance issues in processing large data sets returned by database and there is no issue with database. Request you to please provide script that will return all queries...
View ArticleBulk Insert
This is from TechNet for Bulk SQL Server 2008 R2If a user uses a SQL Server login, the security profile of the SQL Server process account is used. A login using SQL Server authentication cannot be...
View ArticleHow do I access database diagrams? (database does not have a valid owner error)
Hi,<o:p></o:p>I am new to SQL Server 2012 Express Edition which I have installed and I have three AdventureWorks databases attached.<o:p></o:p>I want to look at the database...
View ArticleDB snapshot updates failing during update - SQL Server 2005 SP4 EE 64bit-...
We're able to create a snapshot of a 1.4TB database by using the following SQL commands:use mastergoCREATE DATABASE tws_prod_snapshot ON( NAME = tws_prod, FILENAME = 'E:\MSSQL\DATA\tws_prod_ss_file.ss'...
View ArticleError while REORGANIZE Index --Urgent please reply.
Hi All , I am getting very creepy error while reorganize index.We are running maintenance plan to reorganize the index ,but before performing this operation we are shrinking database as it client...
View ArticleIs It Possible
tool in Sql Server To Convert SQLStatements from C# Formatted To Sqlserver and Vice VersaThanks
View ArticleFail to Install SQL Server Standard Edition 2008 R2
Dear MSSQL supports,One of my Customer have bought the license for SQL Server 2012 and they wish to down grade it to SQL Server 2008 R2 and install it to window server 2008.However, we do facing some...
View ArticleDinamically set table columns SQL
In my database I have a View Revenues with fields ProductID,EditionID, Year, January, February, March,..., December. I need to make query for each ProductID and EditionID all the year and months...
View ArticleUDP to query the current DB
Hi, I'm refactoring my SQL into UDP. The problem is that I want to define the UDP in another DB, because it is a common task that can apply to a bunch of my DBs. The SQL works fine before refactoring...
View ArticleGet id by max identifier
Is there anyhow to pass this as where statement? I mean, "where Max(version) group by name" I need to retrieve only the ids in it, something like this:select id where max(version)groupby name
View ArticleSimplest way to get max record
Hi, I think my title want clear enough. Let me try to explain. I have this simple table:CREATE TABLE dbo.mytable ( id [int] IDENTITY NOT NULL, name NVARCHAR(100) NOT NULL, version [int], PRIMARY KEY...
View ArticleCan I use SQL Server 2005 9.00.2047.00 for free?
Hello. I have received a computer which has installed Microsoft SQL Server 2005 - 9.00.2047.00. I wonder if this is a free version of SQL server, or should I uninstall it? I know that SQL Server 2005...
View ArticleDirty Reads
Hi AllI'm trying to do a Dirty Read ieUpdating a specific record in the Database Then trying to read the same record prior to the Update Transaction being Committed. Ive tried all the different...
View ArticleInstall/Configure SQL Server 2012 Server-Client
Hi experts,My requirement is like this:1 server machine and 4-5 client machine.we (Client machine) need to work on SSMS,SSIS and SSRS. The database should be on server machine.Client machine should...
View ArticleHandling large amount of data in SQL server 2008 >10Gb
Hello, We are working on crawling software which should be able to collect data from over 200 web sites. Our plan is to store XML files into the DB. These sites are quite active, having over 10k events...
View ArticleWindows ce 6.0, SQL server 2005, Cannot generate SSPI context
Hi all,I am trying to access sql server 2005 from my VB CF .net application on a Windows CE 6.0 device. Sql server is running on my PC (windows 7) which is in domain.sqlconn = New...
View ArticleDisplay horizontal rows vertically SQL Server 2008 R2
I ran the following query SELECT EMPID,ENAME,SALARY,DEPARTMENT from EMPLOYEEand the result was thisEMPID ENAME SALARY DEPARTMENT---------------------------------------------01 TEST1 2000 A/C02 TEST2...
View Article