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

Error on Implicit conversion

Hey I have a problem to this query, yesterday function normaly, but we reboot the server and now send me this error message:Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the...

View Article


sql stored procedure

hi.I have this:alter FUNCTION teste (@div nvarchar(10), @dep nvarchar(10), @sec nvarchar(10)) RETURNS @lista TABLE ( mdnemp int primary key NOT NULL, mdnome nvarchar(50) NOT NULL, mvdivs nvarchar(50)...

View Article


Recommended Recovery Options for Corrupt Objects

Hello ,  When I ran DBCC CHECKDB on one of my databases, I noticed few objects being corrupt.Msg 2533, Level 16, State 1, Line 1 Table error: page (1:915964) allocated to object ID 1105439012, index ID...

View Article

Table Join Strategy

Hi, Could you please let me know the Join Strategy to achieve best query performance for below scenarios: 1) Joining Large Tables Table1 count is 200,000 Table2 count is 100,000 Table3 count is 90,000...

View Article

tempdb issue

i have heard and read in mnay portals but in my project in on of my ticket the resolution it says that executed the backup command  like backup tempdb with truncate only and they say that the space was...

View Article


set a databaseoff single user

Hi gurussql server 2008 r2 on 2008 r2 serverI need some help and hope you can point me to the direction, I have a database that shows (single user) and I all other dont show that labels, so I take the...

View Article

error while logging to ssms

I am not able to login to the SSMS, while I am logging I got this error please help me how to troubleshoot this error..TITLE: Connect to Server -----------------------------  Cannot connect to...

View Article

difference between sql server 2005,2008, 2008r2 and 2012 in installation?

Hi What are the difference in installation of 2005, 2008 and 2012 and what are the features are added in installation?Thank you

View Article


query

QUERY 1: HOW CAN I SEE ALL HISTORY OF MY DATABASE THAT WHAT CHANGES I DID ON WHAT TIME PERIOD AND ON WHICH DATE........(ONLY GIVE ME OFFLINE PROCESSING FOR THIS)QUERY 2: HOW CAN I SHOQ AN INFORMATION...

View Article


Confused about triple discounts in stored procedure

Hello. I am making a stored procedure for monthly sales. In the stored procedure we have a Discount. This discount can be fetched from three different tables. If the discount is not in id.rabatt, it...

View Article

SQL Server Configuration Manager

Hi,I have some SQL 2008 standard and Express servers which have SQL Server Configuration Manager installed and not SQL Server Management Studio. My question is how can I configure the DB permissions in...

View Article

Error using Verify/Repair methods of SqlCeEngine

I have a compact pc program that uses a sql server database (sdf file).I want to check the database integrity when program starts so I added a call to veriy method of SqlCeEngine.The verify function...

View Article

Using Access Form Control as SQL Function criteria

I have a combo box named [myControl] on an Access form that I can use to select/enter a site name (ABC).  There is a button on the same form that runs a report.  The underlying record source for the...

View Article


While debugging, what can you do in the SSMS Command Window.

Using SQL 2008. Come from a .NET background. I know in .Net what to do with the command window. But I have not been able to figure out what to do with it while debugging in SSMS. Can you give me some...

View Article

Will I lose out by learning an earlier version of SQL Server?

At work we use SQL Server 2008 R2 from what I can tell and I use it to do many DB queries. I have been asked to select a course available through Skillport and notice that my only selections are for...

View Article


download sql server 2012 developer edition

where to download sql server 2012 developer editionOn MS site everything goes to 2014 or std, ent editions only

View Article

Remote connection from mobile device...?

Hello, I try to connect the SQL Server from the mobile device.my connection string is:string conn_str = "Server= 10.0.0.11;Database=theDB005;uid=bahadir;pwd=abcd;Trusted_Connection=false;";when i try...

View Article


Need to recover dropped indexes from SQL Server 2008 R2

Hi All,we are reestablishing the transaction replication all non-clustered indexes dropped due to this activity now we are suffering from performance issue is there any way ,we can recover all the...

View Article

How to write the query using pivot table?

Hi,I am using the below query using pivot table. i have year column and employee id column in one tableSelect...

View Article

To execute a script in two different instances simultaneously

Hello All,Is it possible to execute a script on different instances simultaneously?Like, can we create a user on different instances simultaneously using a script?Thanks in advance..!Thanks and...

View Article
Browsing all 4729 articles
Browse latest View live


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