regarding sqlserver
Hi, one product is there with 100 pieces,at a time three users are operatinguser1 ordered 50 piecesuser2 ordered 60 piecesuser3 ordered 60 pieceshow can i write sqlqueryplease help me
View ArticleSQL Security Settings - New DB Build Standards at my company
Re: SQL Security Settings - New DB Build Standards at my company
View ArticleSelect by Location. Select Into.. No column was specified
Hello.. I am starting out as a new user with Sql Server Express 2012.I'm using the information in the AdventureWorks2012 database andhttp://msdn.microsoft.com/en-us/library/ff929109.aspx I can run a...
View Articletable column
Hi,In my asp.net application in one section illness types designed wit labels and textboxesIllness typesinjurieslbel injury.textSkinDisorderlabel sd.TextPoisioningslabel...
View ArticleSQL 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 Article