Quantcast
Channel: ฟอรัม Getting started with SQL Server
Browsing all 8428 articles
Browse latest View live

Problem running a SQL Agent Job.

Hello All!I made 3 instances in sql server 2008 (lets say a1,a2,a3), and ran a full and differential backup plan for each of them. 2 of them are working just fine! but 1 instance(a3) is giving this...

View Article


SQL Server only using 4 out of 6 cores

Hi,I noticed that SQL server only appears to be using 4 out of 6 cores.I was doing a bit of reading around this and I think the solution may be to change some of the processor affinity settings. Has...

View Article


Need Blank sa password

Hi,I am using sql server 2000. in this version i have kept sa password blank. now we are upgrading sql server 2012 standard edition. so how can i keep sa password blank?? for some reason right now i...

View Article

blank password for sa user in SQL server

i have already checked and confirmed that checkboxes in the SA login properties does not have a tick mark and also saved the properties window after leaving the password blankbut when I'm unable to...

View Article

How can I reduce the size of my DB and my nightly backups?

One of my SQL databases is growing out of control and its required nightly backups (FULL) are sucking disk space at a rapid rate.  The backups are now at 120GB a pop and the DB itself is somewhere at...

View Article


Maintenance Plans Jobs

I need to find a way to associate Maintenance Plan jobs to the actual Maintenance Plan if the SIDs are different.I am updating 2008R2 server with 2012. I saved my old Maintenance Plans and now need to...

View Article

SQL Server keeps assigning dbo Schema, even though I specify a different schema

I'm using T-SQL to Create a table.No matter what I do, the table gets created as dbo.TableName.When I use this scriptUSE CBirtDev go CREATE TABLE [Inventory.PurchaseOrigin]    (    PurchaseOriginID...

View Article

Slow Connection

We have a commercial application using SQ:L Server 2012 Express which we have installed on numerous systems.On one system, connections to the  were very slow.  I investigated and discovered that the...

View Article


Error Handling in the SQL Trigger 2008 R2

Hi ,I need some guidance in setting up error handling process in the table  trigger. I have created a trigger on source database table and it load data to target table whenever there are any changes in...

View Article


how to fix Login failed for user ''. (Microsoft SQL Server, Error: 18456)in...

Hi All,we are facing the Login fails issue .how to resolve the bellow error , could you please suggested the possible ways .. ASAP TITLE: Connect to Server------------------------------ Cannot connect...

View Article

Which of the two methods is better for performance using temp tables?

Hello Everyone,In case of temp tabes, is it better to go for minimal number of temp tables with joins or go with many temp tabes. As a geneal rule, which is better, to split up tables or use a single...

View Article

Find oldlocation after moving tempdb file

HI Friends,How to check when tempdb files are moved to another location.It looks like someone moved tempdb files,but how to check the old location for tempdb.ThanksShashikalaShashikala

View Article

Clustered Index Scan

Hi, I'm trying to understand why a particular query can change to from a clustered index seek to a clustered index scan.  I've pulled some code out from one of our stored procedures because it had a...

View Article


Query processor ran out of internal resources

I have a query in the following format where @ID takes about 20000 IDs. select * from students where name in (@ID) Because of the high amount of IDs in the list, I'm getting the error that "query...

View Article

Login failed for user

I have a SharePoint server which is using service account "spsharepoint".For some reason this user has started giving 'Login failed for user spsharepoint' when I checked SQL Server logs. Turns out it...

View Article


Image may be NSFW.
Clik here to view.

SQL Server TechNet Guru News: October Winners Announced

All the votes are in!  And below are the results for the TechNet Guru Awards, October 2014 !!!! For a full list of winners, see the full blog post, as runners up had to be removed from this post to fit...

View Article

Full Text Index with docx and xlsx is not working

Hi,I am Having a sql server 2012.In My DB, I have one table. In this table, having one colum Document and its datatype isImage data type. I have created a fulltextindex on this table.If i searching a...

View Article


How to kill a SQL Server DB?

How can I completely kill, or delete a SQL Server DB?  I can't seem to detach it or take it offline.  I can't do anything with it at all.  I basically ran out of disk space while loading a table, and...

View Article

Optimizing a Stored Proc with IF-THEN Conditional logic

Suppose you have three queries. The SP will only run one of them, based on IF-Then logicif @p1 = 1 SELECT....FROM .....ELSE if @p1 = 2 SELECT....FROM .....ELSE if @p1 = 3 SELECT....FROM .....Now if it...

View Article

Creating a new database using an MDF file

My database saves as MDF. I want to know what are the steps to restore or create a new database using a MDF file? I tried to restore as usual but it shows an error. Please help.

View Article
Browsing all 8428 articles
Browse latest View live


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