Understanding how to solve an SQL error
If any one has an idea of how to solve an error like this,kindly tell me what to do.Please.Msg 8120, Level 16, State 1, Line 1 Column 'Members.Memb_contact' is invalid in the select list because it is...
View Articleselect record based on condition in sql
Hello all, i have the following data in table ID event 1xmas 1promo 2xmas 2promo 2promo 3xmas requirement is 1) if ID with event has one xmas and one promo we have to ignore that records2) if ID...
View ArticleWhat easy to use (MS or third party) tool can I use to create and host a...
I'm looking for a (MS or third party) tool with which I can create, publish and host webservice API's on a custom SQL database. For example a API which presents all customers, or validates a user...
View ArticleWhen to use T-SQL over SQL when there are more joins ?
Hi,I have to prepare a Stored procedure which will have atleast 10 joins and may return a large result set (probably more than 50 thousand records or even more ) which may cause performance issues. Is...
View Articlehelp! Trying to move my software to new computer: don't see Sql server 2005...
I spent months developing website back in 2010 on my XP. I have new computer running Wind. 7 prof. 64 bit.I have Visual Studio 2008 Profession edition which came with SQL Server 2005 Developer...
View ArticleLicensing on VM with multiple instances and different versions
Hi,I have a 2-proc, single-core VM with 2 sql server 2008 r2 (std edt) instances covered with a 2 proc sqlserver license for 2008 r2. This VM is lightly used.I now want to install a new instance on...
View ArticleIs Compact Edition still the best small database choice?
I need a compact database to use with my Windows Form application. What is the best version of SQL Server to use? I see Compact Edition 4.0, however it looks like a couple of years old...
View ArticleCompare parameter to table value, and either continue or stop procedure
I am creating a stored procedure that generates a different output depending on an @Country parameter. In one of the tables that I am using there is an ID field that is a 3 digit number, this 3 digit...
View ArticleChecking these SQL Server Questions
I got these 7 questions from a practice book at the public library. It does not have a Key to grade it. Does any of the questions I answered look wrong(I answered in orange)?
View ArticleCan not connect to SQL-Server with PHP
Hello Forum,I'm just beginning with PHP-SQL programming so sorry if I ask some stupid questions...I need help with connecting to SQL-Server 2012, by using php. In Management Studio I have built a new...
View ArticleCan't connect to MSSQL-server via SQL Server Management Studio. Noone else...
Suddenly the mSSQL-server has stopped working, and the application doesn't have any connection to it.Also, I cant connect locally via SQL Server Management Studio.Any ideas on where to start?Have SQL...
View Article127.0.0.0
what is local server?where do I use . or 127.0.0.0 connection?My SSMS is connecting to sqlexpress at the startup as in the picture. When i use . or 127.0.0. it does not connect anywhere.
View ArticleParsing "," in CSV file using select command.
How to handle comma "," in an sql Select Query, Supposing that i have huge chunk of message that contains different special characters like "," double quotes, [] etc etc. when im exporting this message...
View ArticleInserting master detail table records in a single query in sql server 2008
Friends,I have to insert 1200 records in the master detail table directly.i have written 2 separate queries to insert records in the master and detail table.insert into student_receipt...
View ArticleHow to remove the OR clause in this query?
Hello Everyone,I have this query where i have a lot of joins and in the where clause there is a ISNULL and conditions based on OR clause.How to remove the use of the OR clause which may cause...
View ArticleHow do i get the approximate size of back up file required to save on disk...
hi i am face with problem that is i want to show the how much approximate space required for backup or .bak file to get backup using sql query because i want to show the required memory for backup file...
View Articlebest way to run about 200,000 update statements?
Just throw them all in SSMS all at once? That doesn't seem like the best way especially since something may fail part way through. What would you suggest? Do it in code?
View ArticleWhich RAID level is recommended for tempdb?
Hello All, I came to know from many different SQL forums is that RAID level 0 & 10 are recommended, If have a choise of options RAID 0,1,5 & 10, Please advise which one i can best used for?...
View Article2012 Sql standard Core license
Hello,We currently have one sql server(sql server A). SQL server A has 8 cores (as per windows server task manager). Our current volume licensing summary says we have 8 quantities of 2012 Sql server...
View ArticleAutomatic key assignment not working....
Hi, The automatic key assignment is trying to assign a null value to the primary key(AccountID) on saving the record causing an error. Line is bold.Regards, BobCREATE TABLE [dbo].[AppGlobal](...
View Article