SQL Server Radio - A new podcast for SQL Server professionals
Hi everyone, We (Guy Glantser and Matan Yungman) have recently launched a new podcast for SQL Server professionals, called "SQL Server Radio". We release two shows a month, and basically talk about...
View ArticleMSG 156
Group by SD.Sales_Order, SD.SO_Line, M.Selling_Price, C.Type, SD.Total_Price, SD.Order_Qty, CP.Sell_Price, CP20.Sell_Price, CP30.Sell_Price, CP40.Sell_Price, M.Class, (Case when (PATINDEX('%RGA%',...
View ArticleSwitch partitions and default values
MSSQL 2012Can I switch partitions when the target has default value for a column, but the source doesnt? if so, will the default values be applied? Thanks
View ArticleStatistics and REBUILD indexes
Hi TeamAny performance issues 1st we have to check update stastics job and Rebuild index jobs.Why we have to create Update stastics jobs and Rebuild index jobToday I have checked fragmentation level...
View ArticleCan I Install SQL Server Developer Edition 2012 on Windows 8
I am just about to buy this:http://www.amazon.com/SQL-Server-Developer-Edition-2012/dp/B007RFXQAMI noticed that the 2 platforms listed are Windows 7 & Vista. I'm pretty sure it will also run fine...
View Article"Cell is Read Only" with inner join in "Select Edit Top 200 Rows" option
When I right-click on Table1 and click on "Select Edit Top 200 Rows" option, I can change values, add/delete records, etc. As soon as I add an INNER JOIN in the sql editor to Table2, the cells become...
View ArticleError in datetime setting
If try this in SQL server error occurs at line 9DECLARE @patient_id bigint,@exam_date datetime,@exam_seq smallint,@save_datetime datetime,@edit_datetime datetime SET @patient_id=1 SET...
View ArticleNeed to Insert 2 Fields into one Destination Field
I have a scenario in this way:Source Table InventoryAlocation| BlocationABC DEFDestination TableLocationIDMapping Table LocationID, Location1 ABC2 DEFNow I have to...
View ArticleTime value overflow error
Following code works fine with MS Access DBdtExamDate = DateValue(Now) Sql = "SELECT * FROM surgical_exam_history" adapter = New OleDbDataAdapter(Sql, cn) commandBuilder = New...
View Articlehow to configure USER CAL on SQL server 2008
how to configure or Add User CAL on SQL server 2008?pls let me know the process
View ArticleSQL Scenario
Hi Everyone ,I am looking for below solution using sql .create table #temp( id varchar(10),value int)insert into #temp values('A',-9),('A',1),('B',-5),('B',3),('C',12),('C',-2)Input...
View ArticleHow to register a non-local database
Hi All,I am fairly new to ms sql server 2008, which has been installed to my workstation.I have been trying to add a database which is in a ms sql server 2000 that resides in a another machineMy...
View ArticleSQL server Management Studio help does not work
Hi,I have SQL Server 2008 R2 installed on my machine.Microsoft SQL Server Management Studio 10.50.1600.1 Microsoft Data Access Components (MDAC) 6.1.7601.17514 Microsoft MSXML...
View ArticleSome records are not inserted into table, while most of them get inserted
Hi All,I used a stored procedure to insert the records into two tables, Entry and EntryAudit, having similar columns. Everything works fine and all records get inserted as required. But, a few records...
View ArticleHow do relationshiped tables behave
Hi!I'm not sure if should be asking this in vb.net forums or sql forums. So please forgive me if i'm in the wrong place. I have this collection of relationship tables in my sql server. In my previous...
View ArticleRecord Change Tracking
I have an sql database that has item table containing item number and price. I need to create a table that reflects the time and the new updated price value whenever the price is changed. I am not an...
View ArticleSQL Server 2014 Official Final Version ---- Data Tools (SSIS, BIDS, etc.)
I have VS 2013 Professional, and just installed SQL Server 2014 Developer version. Can someone tell me where the proper location for the Data Tools (fka BIDS) is located ? I'm seeing CPT1, etc. but...
View ArticleInner Join within results?
So if an item is a bottle, it will have a unique BottleKey and Null for CaseKey and if an item is a Case, it will have a unique CaseKey and Null for BottleKey. However, the PrimaryIDs are the same for...
View ArticleSQL Server 2012 Licence
I have a 16 core CPU system and I need to build a 2 node SQL Server 2012 Enterprise Edition active\passive cluster. So how many SQL Server 2012 licences we need to purchase.
View Article