Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12554 articles
Browse latest View live

SQLSERVER Function with cursor

Hi All,Am basically from oracle, i have a function with cursor here i have created in oracle. May you please help me in modifying this into sqlserver. FUNCTION fun_din (id IN NUMBER, dim IN VARCHAR2...

View Article


Multiple Partition on one Filegroup in SQL Server 2008

Hi Experts,My business requires to create the filegroup year base and partition on quarter base which resides in that year base filegroup.Ex: 2010 (FG) --> Q1,Q2,Q3,Q4 (Partitions).I google it but...

View Article


Windows Azure Table Service Signature Access From Program

Hi, Am trying to access the GET Query Tables operation in Windows Azure through Rest API from Objective C. Am getting a 403 Forbidden error. Am suspecting the issue might be with the format of the...

View Article

Exception happened when running extended stored procedure 'xp_delete_file' in...

I have gone through the related posts. However not found the answer to this problem.Environment: -  OS Version: - 2003 R2 (SP2) 64 Bit SQL version: - Microsoft SQL Server 2008 (SP3) - 10.0.5788.0 (X64)...

View Article

Sequence Object Duplicate Values

Has anyone had an issue with getting duplicate values from a sequence object?We are using SQL Server 2012 SP1 and ran into an issue this weekend. We had patches applied to our SQL Server server and it...

View Article


Local temp table created inside stored procedure does not drop automatically...

Here I just want to play with local temp table behavior inside a stored procedure. I still create and drop temp table inside the same proc.Below is the sample...

View Article

SQL Server management studio is not showing the entire data

Hi Team,There is varchar(max) column in a table when i do select on that column in management studio it is not showing entire data it is only showing 4000 characters. How to enable to show the entire...

View Article

Start with Connect by prior

Hi All,Can anyone please help me in making this oracle sequel statement into Sql Server. select name  from (select id, info_id        from wp_tasks        start with id = task_id        connect by...

View Article


Single Out a Specific SQL Process

Guru's Is it possible to specifically identify a process belonging to SQL Server Processes category in a given machine(computer or server)?If it is possible can you show me the steps I should take to...

View Article


TempDB blocking... finding the culprit......

We are starting to experience a growing number of exclusive locks in tempdb. 7am things look fine, 8 am lots of locks. Some of our sql tools are complaining about queries taking longer to run than in...

View Article

How to attach a database in standby mode(SQL 2012)?

Hi experts,  Let's assume I build log shipping in standby and my OS disk fail. I reinstall a new OS and due to some reasons, I want to read the data in standby DB(allow data loss). How do I attach a...

View Article

Object explorer hangs when we expand Databases tab from SSMS of SQL server...

Hi, We have a SQL Server 2012 standard edition server with build number 11.0.3330.0(*64) on a 64 bit Windows 2008 OS (in Production environment). ---Microsoft SQLServer 2012(SP1)- 11.0.3000.0(X64)Oct...

View Article

RESTORE DATABASE WITH REPLACE Fails in SQL 2012 (Works in 2005/2008)

I have a commercial application that installs a database instance and restores a database from a .BAK file. I must be able to support SQL 2005/2008 and 2012. The instance of the database is created...

View Article


find Currently session that is costing high cpu

when sql server is 100% sqlserv service, what is the easy way to find what session/query is contributing the high cpu usage. There are a few queries on msdn for top cpu usage, but it is for last a few...

View Article

Not all colums are getting updated with "WITH (ROWLOCK)" is used in a update...

Hi we are using following query in our code ; except DESC1 all other values are getting updatedSTATEMENT : "Update Table1 with (ROWLOCK) set DESC1 = ?, DESC2 = ?, INSTR =?, GRP =? where ID = ? "Can you...

View Article


Powershell invoke-sqlcmd calls stored procedure second time after Query...

We have a very strange issue. We have noticed that a single stored procedure is executed twice when is called by Powershell invoke-sqlcmd command.When we trace it we can see the procedure starts...

View Article

SQL Server limits rows added to a table

Hi,I need to append over 50 million rows to a table in a database.  Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows.  There is no error raised.  We have to manually...

View Article


How to migrate extended store procedure 64x DLL from SQL 2005 to SQL 2008 R2 ?

Hi! all,I need to migrate a database with extended store procedures from SQL 2005 64 bit EE to SQL Server 2008 R2 EE, the targuet os is Windows 2008 R2 EE.I went trought the...

View Article

Mount Point drives are not visible in SQL Server cluster?

Mount Point drives are not visible in SQL Server cluster?

View Article

Deadlocking analysis help needed..

Today I was approached by a developer whose app was deadlocking during testing. To emulate a user load he invoked a webservice in a loop with each loop having 10 invocations (each with different input...

View Article
Browsing all 12554 articles
Browse latest View live


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