Quantcast
Channel: Microsoft SQL Server
Viewing all 4871 articles
Browse latest View live

material management database

0
0

how to create database interface C#


Stupid question - Moving tempdb

How many SQL Databases would you run on a SQL Server 2008 server?

0
0

I'm not a application program or SQL dba so if I leave something out please forgive me. We are experiencing performance issues with our applications that have a SQL backend. There are anywhere from 40-60 databases on this one production SQL box. It's running on the latest VMWare and we've allocated 32 GB of ram, running fair highend, new equipment. Originally we had our VM and databases on a NetApp san that was shared with all of our other AD, Dev, Production, servers. Now we're running our production SQL on a Dell Equallogic all by itself. Both scenarios experience similar issues where the sqlserver process in TaskMgr is almost pegged at 50-100% cpu utilization. Vcenter shows that the server is hardly using any memory, but TaskMgr on the server itself shows that it's using 10 GB of the 32 GB assigned to it. Is it time to split...

SQL Server 2008 to 2012 - side by side install/migration..new instance name?

0
0

I am looking to migrate my sql server 2008 databases to sql server 2012. I am installing it now. When it says to specify the new instance name, should it be the same name as the running 2008 instance I am looking to migrate?

MSSQL Split Command

0
0

I have a table similiar to this:

clientcode,professional,man_sen,ssdate,ddate,verify

abc123,tij,RXB/PIW/KKL,31-01-2013,True

I'm wanting to split the man_sen field in to separate columns as such using [/] as the delimiter on a select statement so I can spit out the file in to a spreadsheet, I've done all other fields apart from this one

RXB,PIW,KKL

I've been reading code examples on stackoverflow but it's gone way over my head, can anyone help?

SQL LDF file is out of control

0
0

Hi

I have a SQL 2008 R2 database that is 20GB but the log file has grown to 517GB

how can I reduce it?

the database is set to simple mode and the backup job is set to full back up

when I try to use the shrink option it will only clear 1% of the file

any help

ssrs 2008 r2 - background transparent invalid warning

0
0

I've seen threads on this issue and haven't found a good easy solution. Somewhere along the line "Transparent" becomes invalid. I click background color... it shows options and I select "No Color" which types "Transparent". And then I get the warning when the report renders in preview. I saw in another thread to try using the word "Nothing" - which I get an immediate invalid color error.

It all works fine in production... this is more of an irritation with all the warnings.

I'm not doing an expression... just want that text box with no color.

I'm sure there's something easy I'm missing. Then again - with the other bugs I've run across - the worst offender being subreports won't render in preview - you have to deploy them! Maybe it's not so easy. Thank you!

WinPak 2005

0
0

We just started having an issue with WinPak 2005 when attempting to logon.  We receive a message that states, "Database connection was successful but Database login failed".

We are using the same Admin login credentials we have always used, but not cannot access WinPak 2005 to create a new door card access.

WinPak is installed on an XP machine, NOT connected to the network, the only connection is to the panel via serial connection.

I am only the Network Administrator and NOT the daily user, whom has full LOCAL administrator credentials on this PC. So I am not positive that the user made any changes althought I doubt they did.

Anyone have any ideas as to how I can fix?


SSIS 2008 - Variable passing

0
0


I am trying to pass 3 varibles of the same type, one works correctly but the other 2 passess 0's

I have this SQLStatement within a Execute SQL Task:
SELECT DISTINCT
FILE_ID,
TBL_NM
FROM DATABASE_TABLES
Where
TBL_STAT = 'purge_elig' And
TBL_Typ = 'Claim' And
TBL_NM not in (Select Distinct TBL_NM From DATABASE_TABLES Where TBL_TYP = 'CLAIM' and TBL_STAT = 'ACTIVE')
Union
SELECT DISTINCT
FILE_ID,
TBL_NM AS TBL_NMIT
FROM DATABASE_TABLES
Where
TBL_STAT = 'purge_elig' And
TBL_Typ = 'CLAIM_ITEM' And
TBL_NM not in (Select Distinct TBL_NM From DATABASE_TABLES Where TBL_TYP = 'CLAIM_ITEM' and TBL_STAT = 'ACTIVE')
Union
SELECT DISTINCT
FILE_ID,
TBL_NM AS TBL_NMFC
FROM DATABASE_TABLES
Where
TBL_STAT = 'purge_elig' And
TBL_Typ = 'CLAIM_FACILITY_DETAIL' And
TBL_NM not in (Select Distinct TBL_NM From DATABASE_TABLES...

SQL Express no backup

0
0

My machine running SQL Express crashed.  There has not been a backup in some time.  The hard drive is fine.  I bought a new computer running Windows 7 and installed SQL Express and my application.  What are the steps to open the data without a backup?  I have searched the internet but have found no answer.

SQL Server 2008R2 version - help finding

0
0

Amongst the many things I've inherited from the out-sourced IT team, that ran my companies IT before I started, is an almost complete lack of documentation of our licenses. 

We have a server (2008R2) running SQL 2008R2 and I really want to find what type of licensing it uses (CPU or CAL etc.) I have the license  key (that was written down) but no sticker, install media or other documentation (nor an invoice for the license, so I can't even take a guess based on the price)

In the past you could query SQL itself for the license type, but this seems to have been removed in 2008 onwards.

Does anyone have a clever way of getting this info?

Many thanks in advance.

Do I need MSDTC?

0
0

I set up a SQL Server cluster a few weeks ago. Things seemed to be working fine until I decided to test the cluster by shutting down one of the VM's. The disks failed over like they should and service to the application wasn't interrupted, but the MSDTC never came back online. I tried a few things to get it working and wasn't successful. So, what did I do? I rage-nuked it.

Now I can't recreate because there isn't a disk available for it. I suppose I could carve another small LUN for this, if needed. So, do I need it?

LDF on shared disk or not

0
0

I had some help setting up my server cluster and the guy said to just create local (non-shared) disks on each server for the log files. Is that really how it should be?

Restore SQL Database from Shadow Copy

0
0

Can anyone tell me if I can restore a SQL database using a shadow copy? I have a full regular backup but found that there are shadow copies scheduled for a closer time to when we would like to restore.

ASP.Net 2.0 to SQL Server 2008

0
0

We have an online application system for potential employees to apply for the company. This online application was developed years ago by a predecessor. When an online application is submitted it informs the applicant that either the application was submitted successfully, or that it failed to submit to database.

Directly after submitting to the database it sends an email to the applicant as well as to our internal HR department.

Recently the online application has started to deny submissions to the database. I can test it one minute and it works fine, the next minute it doesn't. Wait two minutes and it works again. It has been very intermittent and is beginning to drive me up the wall.

The website uses an 'sa' account to log into the SQL Server, and the account is active and functioning properly

There are no network hiccups during the...


SQL server 2008 upgrade to 2012

0
0

I'm currently running SQL 2008 on a server 2012 machine.  I've got the task of making a new Server 2012 machine, running SQL 2012.  I was going to put the new instance on a VM and migrate over the DB, users, etc. 

How sorry will I be if I were to do a P2V conversion of the old server, keeping it running, then bring up the VM on a new IP, etc?

My guess is very sorry.  I'm just looking to confirm my suspicions that the difficulties I would encounter would outweigh the speed of deployment.

My biggest concern is the report server, which I'll have to migrate all the old reports from and onto the new server.  RSS Scripter is a wonderful tool for that, but only in comparison to the other offerings, which are to my knowledge non-existent. 

connecting sql server

0
0

I''ve been having some trouble for the past two days, and I keep receiving this error whenever I go into my Enterprise Manager. I can stop, pause, etc. but I can not pull up my properties nor connect to it.

Help?

SCCM 2012 R2 Microsoft SQL Server reported SQL message 2601, severity 14

0
0

I'm seeing errors in the State migration point message on our Primary server where the SMP is installed.  It's the same error being reported about every hour.

Microsoft SQL Server reported SQL message 2601, severity 14: [23000][2601][Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert duplicate key row in object 'dbo.#flat_group_object_temp' with unique index 'idx_flat_group_object_temp_GroupGuid_ObjectGuid'. The duplicate key value is (0xdadaf92232937b4a

Need help in fixing this. Thanks!


Our app

0
0

As of right now we are running an app in house. We are going to be branching it out so our clients (as in people we do business with) can access it. It we were suggested to use a MSSQL database. 

We want to move the hosting out of house so we are not the only point of failure. What do ya'll suggest for a hosting solution. 

Log files getting big

0
0

Hi All , 

My log files on windows sql are getting bigger and bigger by the day, has anyone got some best practices for keeping them small, and what needs to be done to shrink them have done a shrink and release unused space but files are staying the same. 

Is it safe to shrink them?

Viewing all 4871 articles
Browse latest View live




Latest Images