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

Recover Database

Hi all,I have a scenario, if a database of size 1.6 TB scheduled every Sunday 12:00 AM full backup, daily 12:00 AM differential backup and every 4 hours Transaction log backup. If Suppose on thursday...

View Article


SQL Verification changes

I have a table that has records removed and the underlying index order no longer matches the order of the numbers in the ID field. As soon as a new record is added, SQL studio shifts it somewhere else...

View Article


How can I implement this database?

Okay, so if you are working with a company who owns more than 10 apartment complexes and they have asked you to build a database.So if I want to implement this database.What database software package...

View Article

SS2K8R2 - Database bloating on restore

I have noticed that when I backup a database SS2K8R2 SP2 using compression, when that backup is restored the resultant database will bloat up.  The original database data size: 32,470,016 kb, restored...

View Article

Why do non-English characters show up as ??? in one table, but correctly in...

Hello,I'm using SQL Server 2008 R2, and have two tables, both of which contain fields of type nvarchar(max). If I insert data into these tables using Query Analyser, and include non-English characters,...

View Article


Suspect Database

Hi all,If a database is suspected, don't have the backups in place and then we didn't find any errors in dbcc checkdb then how to resolve the suspected database.

View Article

How to remove one single rowlock

Is it possible to remove one single rowlock?For example BEGIN TRANSACTION 1) SELECT * FROM [Table] WITH (XLOCK, NOWAIT, ROWLOCK) WHERE [Id]=1 2) SELECT * FROM [Table] WITH (XLOCK, NOWAIT, ROWLOCK)...

View Article

connect to server

     Hi please i need help i installed sql server management studio on my system windows 7 home basic 64bit i tried creating a new query it promts me with a dialogue box connect to server what do i do...

View Article


Image may be NSFW.
Clik here to view.

Database restore failing

Hi,I have two databases. One is called AX12_Base and the other is AX12_UAT_Base.I'm trying to restore a backup of AX12_Base to AX12_UAT_Base but keep getting the below error:I have tried killing any...

View Article


Delete Selected Row from Datagrid VB

HiCan someone help me please, I need the syntax to delete or hide the selected row from a datagrid (not a datagridview) in VB.NET.Thanks A LotCherry

View Article

Why is INSERT INTO using so much tempdb and Why is it trying to allocate...

Why is INSERT INTO using so much tempdb and Why is it trying to allocate dbo.sort?I have a tsql proc that reads a list of tables and copys the contents to identical tables in another database. There...

View Article

BCP error: Unexpected EOF encountered in BCP data-file

Hello,I am using SQL2k8R2 and it often comes to a need to do big data import for analysis, I believe bcp whould be the best efficient way to go, however, the bcp is really something that you like it...

View Article

License Schema on SQL Server 2005, 2008 and 2012

Hello Friendsi have a physical server that has 2 processors with 10 cores each one and because the hyperthreading technology (i guess) in my os appears 40 cores.  i need install SQL Server 2008...

View Article


Cannot perform an aggregate function on an expression containing an aggregate...

I am getting "Cannot perform an aggregate function on an expression containing an aggregate or a subquery." error by executing below query, I need to calculate the percentage. Can you please help me on...

View Article

Cannot find SQL Server 2008 instance

I have installed SQL server 2008 Developer edition on my laptop. When I open SSMS I cannot find the installed instance under the Server Name group and When I choose the Browse More option and go to...

View Article


Executed as user: ADMIN\abc-SQLServer. Linked servers cannot be used under...

Hi All, We have verified permissions on both sides,current server and linked server, the user has sysadmin. Another key piece of information is that this is happening when executing a SQL Job.Thanks. 

View Article

SQL Server 2008 Express Installation fails.

I am trying to install SQL server 2008 Express edition on my desktop (OS: Win 7 HP - 64 bit). I have been unable to do so on all of my 3 attempts.The installation gets to the end and then gives a error...

View Article


Design of basic accounting system

HelloI am new to the world of databases. I am about to design a database for a basic accounting system and payroll. I would deeply appreciate if you refer some good tutorials/samples about design of...

View Article

insert avalue based another state

I want to insert to the column checkinorout value checkin or checkout in first checkin and then checkout and then checkin based on the same SENSORID and the same checktime as you see I want thisselect...

View Article

Is this the right way to implement a database using SQL Server Express?

      Purchase a single central server (if you don’t have one already) and house it in the Wild Wood Apartments headquarters located in San Francisco, California      Purchase and install Windows...

View Article
Browsing all 8979 articles
Browse latest View live