Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 7129 articles
Browse latest View live

Need 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 Article


Image may be NSFW.
Clik here to view.

Time 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 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 Article

Error 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 Article

Record 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 Article


how 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 Article

Cal License

how to add user cal and device cal in sql server 2014

View Article

SQL 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 Article


Some 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 Article


How 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 Article

SQL 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 Article

Image may be NSFW.
Clik here to view.

How 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

SQL 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


Interview question on SQL Server

How you will you load csv file with address field which is having multiple values in SQL.2.What is dynamic sql and if you want to print it before executing then how will you print it withformatting for...

View Article

Inner 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 Article


Is SSMS 2014 backward compatible with SQL Server 2005?

Question in the title. Thanks!

View Article

compare dates

Hi,In my application im trying to send emails to  different clients  when datesubmitted by 8/28/2014  and check after 7 days I want send emails with message.but In database table datesubmitted column...

View Article


Latch timeout stack dump

=====================================================================                                                   BugCheck Dump...

View Article

Newly added field

HI,We used to have a form which has around 10 fields in it. Later, a new field(it accepts just yes or no) was added into it.For all the new records that were created after the new field was inserted,...

View Article

reclaim space issues

Can you provide a little more detail on this?  The fragmentation will occur on the individual file groups correct?  Is there anything we can do to correct this? If we do nothing, will SQL server...

View Article
Browsing all 7129 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>