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

Give an AD user group rights in Microsoft SQL

I need to know what a script would look like to have an AD user group  given rights to a database  in SQL, and given rights to read, write, and execute on the same database.  Thanks

View Article


SQL Express 2008R2 automated backup

I was looking for an easy way to backup some SQL Express databases.After googling for a while I've found a tool sqlbackupmaster that saved my day.Easy to setup,  support zip compression and works...

View Article


SQL Performance Test Query?

I want to be able to have a query I can point at a database and have it try to pull data over a certain amount of time to see a basic idea of performance of the database compared to the same DB running...

View Article

SQL Index is 26 GB

I have a 60GB Microsoft SQL DB. This DB is owned by a third party who's software we used and is nothing but a performance nightmare. One table in the DB is a document table and it is 26GB, that by...

View Article

SQL query assist

Alright so I have this bastard SQL query: select a.custnmbr, b.custname, a.ADDRESS1, a.ADDRESS2, a.cntcprsn, a.PHONE1, a.PHONE2, a.FAXfrom rm00102 a left outer join rm00101 b on (a.custnmbr =...

View Article


make text = NULL when not a integer SQL

Hello all, I am trying to make a view in SQL but a lot of the data is not consistent and I am getting bad data results when I try to divide 2 fields then one of the fields has text in it and not just...

View Article

Will a compatibility level of 2005 (90) limit size of DB to 2GB in 2008 Express?

I have a SQL 2008 Express 10.0.5500 with a single DB for a small application.  The application is experiencing performance issues.  I logged in and looked at the DB and notice the comp. level was lower...

View Article

Goldmine restoring the database

I have a backup of the goldmine database a SQL backup.  What can I use to read the database since I don't have Goldmine installed anymore and I don't have SQL installed.

View Article


SQL server express - exceed your licensed limit of 4096 MB

I know nothing about SQL other than the fact that there's some software on one of my servers (Server 2003) that uses it. I started getting this error yesterday.CREATE DATABASE or ALTER DATABASE failed...

View Article


Hidden SQL Password Recovery

Hello all,     We have a customer who is trying to reconnect to a Microsoft SQL server. The password is required in two places. In one place it is blank. In another place it is hidden by the asterisks....

View Article

MS SQL .MDF Files missing after sudden server reboot

On multiple occasions I have seen it where a server is rebooted or crashes suddenly (Power outage or something like that ) and the MDF files for some SQL databases go missing the physical files are...

View Article

ReadTrace.exe with RML Utilities (Load testing)

Hello all,Maybe someone can steer me in the right direction.I'm wanting to test some instance-wide config changes before rolling them out to production and would like to do this by replaying a trace...

View Article

Using a variable to select the top values

Hi Guys,I'm working in a Table Valued Function that's referred to in a stored procedure.In the Table Valued funciton, I want to tell it to get the top number of records based on the number of months...

View Article


Import txt files to SQL DB

Hi,I have a text file extract from a different SQL server and am trying to import the same to our Data Warehouse server. But it's importing them all as varchar(50) and I want it to keep the types for...

View Article

Lync 2013 pChat stretch pool and SQL options

We're implementing Lync 2013 and for our pChat environment we are looking at using a stretch pool as we have two main sites. With regards to the SQL setup for the stretch pool it looks like MS wants...

View Article


Stored Procedure is fast, report is slow.

I'm at the end of my rope on this one though and thought I'd ask if anyone has a clue for me.  I've got a transaction detail report that runs really pretty fast (under a second) if you run just the SP....

View Article

Problems between Windows 7 (SP1) & SQL 2008 R2 Server?

Good morning, folks.Our company has a bespoke database built upon an SQL back-end and presented by IIS. The SQL database itself is hosted on Windows Server 2008 R2 within an SQL Server 2008 R2...

View Article


SQL: Granting access to table records using a lookup table.

I have a search feature on my web site that returns results based on a user ID. The query is...

View Article

checking for bad email addresses

I have a sql stored procedure that sends emails to my customers.  Is there a way for SQL server to check to see if an email address is valid and log it if it is not?

View Article

Multiple SQL instances to save licensing costs

I'm engaged in a debate with a SQL architect about consolidation of SQL. I recently built a Hyper-V environment with megaloads of compute resource to serve as a common platform for all of the...

View Article
Browsing all 4871 articles
Browse latest View live


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