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

Why are transactions long running?

My stored procedure has a transaction blog. I pick up a record from a database and process it in that transaction block. I noticed that my transaction log has grown in gigabytes. But my transaction...

View Article


Automate backup and restore

Hi All,I want to automate backup and restore operation in T-sql script I need to give resource server,database and backup file location as input and then I need to restore that backup in differenet...

View Article


Granting permissions.

Hi Experts,I am need to grant view definition permission to view all the stored procedures of around 50 database to a user, for which I have used EXEC master.dbo.sp_MsForEachDB 'USE [?]; GRANT VIEW...

View Article

error al conectarme a bd de sql-server lenguaje c.

Ayuda por favor necesito conectarme a la base de datos en sql-servera travez de lenguaje cpero me manda el error: Undefined referenceto 'SQLDriverconnect@32'#include <stdio.h> #include...

View Article

SQL Server License

I am making a WPF, and it will use SQL Server as a DBMS. My question is do I need a license is I want to sell my app?

View Article


PROBLEM CONNECTING TO SQL 2008 EXPRESS WITH CLASSIC ASP ON SMALL PRIVATE NETWORK

I created a private wireless network (no internet connection) of four workstations, each running an installation of SQL 2008 Express.  All four laptops are running Windows 7 Professional.  I created a...

View Article

What is stored in a transaction log file?

What does the transaction log file store? Is it the blocks of transactions to be executed, is it the snapshot of records before beginning the execution of a transaction or is it just the statements...

View Article

Why is the transaction log file not truncated though its simple recovery model?

My database is simple recovery model and when I view the free space in log file it shows 99%. Why doesn't my log file truncate the committed data automatically to free space in ldf file? When I shrink...

View Article


SQL Database Restore issues

 trying to restore a database but it  error  said "the database is in use". So, I took the database offline so that I can restore the database. But it is taking over 1 hour to take offline.  Can I stop...

View Article


Fatal error 823 occurred at Apr 20 2015 8:04PM. Note the error and time, and...

Hi Gurus,When am connecting to SQL Server instance am getting below error message.Error Message:Warning: Fatal error 823 occurred at Apr 20 2015 8:04PM.Note the error and time, and contact your system...

View Article

Edition Question

I have been using SQL Server 2008 R2 Standard via my current hosting provider.  We are moving to a new host - and they offer licenses for both STANDARD and WEB (SQL Server 2014.) I'm having a hard time...

View Article

Making SQL code work via Excel

Hi AllI've got the below code which I am trying to get to work via excel. Does anyone know how to translate it?Its a program that requires a warehouse job number to be entered which has been set to...

View Article

General Question Index

Hi,I've a question on index.Say in a big sql query, which has join of two tables.SELECT A.COL1,A.COL2,B.COL4 FROM A INNER JOIN B ON A.COL1 = B.COL1 AAND A.COL2 = B.COL2General question , if I want to...

View Article


SSMS truncating the result text in the select query

Hello,The value of one of the columns in my table is 14000 lines(678913 characters). The datatype of that column is varchar(MAX). I am doing the following select query but its truncating the...

View Article

WHY THERE's NO "REPORTING SERVICES"?

Hi,I'm trying to post a question about Reporting Services 2008 R2 displaying data from an Oracle DB, but SSRS is not in the "Forum Category" dropdown, and if I select "SQL Server" from this dropdown,...

View Article


Need SQL Server service packs installation procedure

Hey Guys,I am in the process of installing service packs to my SQL Server 2008 and R2 editions, I was searching for the installation procedure in technet for this but nothing was provided for this, I...

View Article

I have these below queries. How do I join these 3 queries into a single query?

1st query: SELECT TOP(1) @tmpOnlineCat = ac.AlertCatID FROM alert.AlertCategory ac WHERE ac.FkAlertID = 2 AND ac.FkAlertTypeID = 32nd querySELECT TOP(1) @tmpOfflineCat = ac.AlertCatID FROM...

View Article


Linking tables from MS Access

HiIs there a way to link MS Access tables with SQL Server tables so the client app sees them as tables from one database?I have tried linked server but it appears that it gets stale after a while and...

View Article

RevLogins can't be created with the given permissions in the source DB Server?

Hi All,https://support.microsoft.com/en-us/kb/918992Following instructions from the above URL I have executed the script on master database (Source: SQL Server 2005). Later a new stored procedure is...

View Article

help needed to start learning to become DBA

Hi ,I am trying to become a DBA. i would like to know how and from where i need to start.Any books and software i need to download .Please helpThank you

View Article
Browsing all 7129 articles
Browse latest View live


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