Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Browsing all 3145 articles
Browse latest View live

Please Provide me Sample for replacing temp table with temp variable

Please Provide me Sample for replacing temp table with temp variable

View Article


problematic xml

Hello,I have a real weird xml that I need to put in a table in columns. The problem is that the xml itself repeats itself over and over again.so when i write the code to parse it it keeps going to the...

View Article


Free tool to convert PL/SQL code to T-SQL

Does anyone know of a tool that can convert PL/SQL code to T-SQL? I spent some time on Google, but I would like something reputable.It doesn't have to be a free tool, just not crazy expensive. I am...

View Article

Localdb unable to interpret £ and € characters correctly

I have a script that creates a sql localdb (2014), creates a table and puts some data into it. If I run this script in SSMS against a full SQL server 2014 instance, it completes fine and all the data...

View Article

Creating CLR table function with T-SQL producing error msg 6208.

I created an assembly using T-SQL. I then tried to create the function using T-SQL but I get the error:"CREATE FUNCTION failed because the parameter count for the FillRow method should be one more than...

View Article


SSAS 2014 Tabular with Hive

Is it possible to use SSAS 2014 Tabular with Hive? If so, has anyone had any experience doing it? What drivers are necessary?

View Article

SSIS Upgrade from 2005 to 2014

Hi, I have sql 2005 SSIS package. Inside that I have OLE DB source Editor that connects to sql 2005 db and it has one SP that uses dynamic SP.Now When I open this package using VS 2013, And I need to...

View Article

Alternative to CASE Statement for the below mentioned code

case when AR=1 then ' Calling' when AR=2 then 'Closed' when AR=3 then 'Completed' when AR=5 then 'Resend to A' when AR=6 then 'Resend to C' when AR=7 then 'At ACompleted' when AR=8 then 'S Completed'...

View Article


Problem in accessing a table in Tempdb

Hi Everyone,I have problem in accessing a table in tempdb and would appreciate if someone assist me on that.Our database is on SQL SERVER 2014. We have a table(table1) that has been created by user1...

View Article


Failed to start debugger - Data is Null.

I'm a developer working on a web application using an instance of SQL Server 2014. I use Visual Studio 2010 sp1 for development. For a task I'm currently working on, I'd like to use the SQL Server...

View Article

Permission issue on running dynamic SQL

Hi Everyone.We have a stored procedure called SP1. This SP is being called by user1. Since User1 does not have direct access to table1 in database1, so we have to execute the SP by 'with execute'...

View Article

Auto generated SQL code

My company has adopted a new way of stored proc creation. Because the developers are mostly responsible for creating their stored procs, it was decided they have to use a generator to generate stored...

View Article

Sql Results to appear on 1 Row

We currently have 2 separate tables to capture project information and sales credit for those projects. The project table would have 1 rown but the sales credit table could have multiple rows with...

View Article


Shrink data file even though it is a bad practice....

I am wondering if I can get some help with the script. I have a DB with more than 550+ data files (Of course they are all different sizes). I am trying to shrink all the files down to 80%. I have the...

View Article

How to add servername into a query.

I am wondering if I can get some help on this? I have this query which gives me all the information of the logins with sysadmin rights but I need to find out the server name as well. I am not able to...

View Article


Problem with 'execute as login' on running stored procedure

Hi Everyone.We have a sp1 which is being called by User1. In this SP there are some tables that User1 does not have access to them, so I have to create another user2 and give proper permission to that...

View Article

Report parameter area doesn't show on drill-through

I have 2 reports that have the ability to drill-through back and forth and pass parameters. It works fine when I specify "Go to report" on action, but the report parameter area isn't showing at the top...

View Article


How to add totals by group

Hi,I have a query below that I think is close to what I need, but I need to add a column(s) that has the Number of APPROVED claims Number of ENTERED claimsNumber of PENDING claimsAs of now, I am not...

View Article

Compilations/sec to Batches/sec

Hi,I am recording the counter values for Batch Requests/sec and Compilations/sec, to try and understand the workload and activity.I have read that as a benchmark we should have about 1 compile per 10...

View Article

SSRS Chart X-Axis Labels & Data missing

Hi,I've seen this issue before and I'm aware of the standard solution but I think I have a new type of issue.Basically, I have a chart whereby some of the x-axis labels are missing, and am using SSRS...

View Article
Browsing all 3145 articles
Browse latest View live