Quantcast
Channel: Getting started with SQL Server forum
Browsing all 9243 articles
Browse latest View live

How to Create new database (copy all table with data excluding 2 table )with...

Please follow the scenario: using C# 1) current database file name is DB20122013. when user click on new year button 2)Create backup copy of current database 3)New database should create with all...

View Article


Sql 2000 Connection Problems

I am trying to install Sql Server 2000 at the moment but when i try to connect to local Windows NT server i get this messege http://img293.imageshack.us/img293/3263/connection8rq.jpg and if i go to...

View Article


Error 952 Database is in Transition

One of our SQL 2005 database started to give us "Database is in transition...Error 952". We were trying to Take the DB offline when this problem occurred. Restarting SQL service did not help us. We...

View Article

Newbie to optimization

I tried the following test using 'SET STATISTICS IO ON' using an indexed table, then the same command with no index different table, but identical.  Index is as follows: (the table has 6467155...

View Article

Lookup fields in SQL Server

I am new to using SQL Server and need some help creating lookup fields if it is possible.  I use the lookup wizard to create lookup fields in access.  Can you do the same in SQL?I have successfully...

View Article


Draging and Droping scripts

I just upgraded from SQL2000 to SQL 2005.  When I have a query opened for a database already and I want to drag and drop a script in, I get the login box.  Is there anyway to get this to not happen?  I...

View Article

Removing timestamp from files for remote backup.

To start off, we are running Server 2008 R2 - SQL Server. We are using a remote backup service (gillware) to handle off site backups. Our backup process looks like this Trigger -> Scan -> Local...

View Article

SQL Server 2012 Virtual Labs Error: Application Cannot be Started. Contact...

Hey everyone.I am trying to use one of the SQL Server 2012 Virtual Labs and I keep getting the " Application Cannot be Started.  Contact the application vendor" when I try to run the download.  Any...

View Article


Column Null value

I have some table which has more than 200 columns.Instead of running query for each column I want to know which column has all null rows.Any help will be appreciated.simam

View Article


Can't Uninstall SQL Server Express

I tried to install SQL Server Express, but at the very end it gave me a message saying I don't have the required OS (I'm using Windows XP SP3).  I go to Add/Remove programs, but SQL Server doesn't...

View Article

Query Estimated Completion Time

Hello ,   Good Morning. I recently started supporting new set of databases from different team and I am having the problem offiguring out how much time Stored procedure is going to take to...

View Article

adding data

Hi ,I have a staging table which have two column...say A and B which have different values.A                            BFBAT                    20TRAINING            30INPUT                  40Now I...

View Article

declare a text query

If I have a text query in visual studio EXEC DCC_SPP_GetPeopleByDepartment @Departmenthow can i declare the @Department to be varchar (8000) ?I tried declaring it in the stored procedure, but when I...

View Article


combine columns in sql

i am working on a project that i have to combine City, State Zip Code. i want it to come out as a single line.City, State ZipCode. I just can't seem to find an sql command that will do this, or i am...

View Article

multiplying time with number of days in sql

FUNCTION [dbo].[GetTotalSalary1_func] ( @emplID int, @month VARCHAR(50) = NULL ) RETURNS int AS BEGIN Declare @BSalaryHour int, @TotalSalary int, @TotalHoursWorked int Set @TotalHoursWorked = (Select...

View Article


SSRS Report

When I run my SSRS report on Internet Explorer then how can I shift control on the next parameter. Using TAB we can shift controls but how to select the parameters without using mouse. I just want to...

View Article

SQL Server Config Mgr Error: WMI Provider Error: Cannot find object or property.

I'm using SQL Server Configuration Manager tool with SQL Server 2008 (SQL Express) on local machine.  Went into properties and on the "logon" tab under "Log on as" I briefly changed the value from...

View Article


Replication not using stated account

I'm creating a snapshot replication to push replication to another machine.  I've set up the Publication and the Subscription jobs using the wizard.  For now, I've set it up to run under the SQL Server...

View Article

Interview Questions for SQL DBA

Hi,Any one can briefly tell about the basic interview question's for sql dba.NARESH.

View Article

Extending Table Data past 30 days

Hello, I am having a hard time finding information on how to extend the amount of time a table in SQL stores data. My default, I believe this is set to 30 days, however I would like to retain my data...

View Article
Browsing all 9243 articles
Browse latest View live


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