Quantcast
Channel: Latest Questions by aRookieBIdev
Browsing latest articles
Browse All 76 View Live

Parallel execution of stored proce that creates temp tables

I have a stored procedure which takes input parameter as clientid and loads data for the clientid. It uses several Local temporary table (names that begin with #) in the process. Can I execute the...

View Article



SSIS Perfomance in local machine

Hi , I recently created a SSIS package which was previously a stored procedure to load data into several tables. By doing so I was hoping to gain some performance as well as organize the code. When i...

View Article

Excecuting BIML script from an application?

Hi , I have created a BIML script which creates packages as per the definition in metadata tables. I am wondering if there is a way I can call the BIML script and generate these packages in a folder??...

View Article

MYSQL TO SQL Server

Hi , I have a MYSQL Database in a Linux server. I need to pull the data from mysql into my MS SQL SERVER 2012. Can i use an SSIS package to pull it directly or should i extract the data into files and...

View Article

Complex string - Use sql to parse and find value.

This is gonna be very difficult I guess. I have been breaking my head on this. I am reading data from spring framework tables(a Java framework for executing batch). The data in a field is as mentioned...

View Article


Compare temp tables

Hi , I need to compare a log table against a look up table to find if the job is complete. For example, The job may have 6 steps and the start and end steps of the job need to be completed to say the...

View Article

SQL Agent Job Creation

Hi , I would like to create a SQL Agent Job which should run every one hour after the Job is being triggered. The Job will be triggered manually in SQL Server Agent and should run every one hour from...

View Article

SQL Split String into non numeric and numerics

Hi , I have certain values such as 'Test123' , 'a3456' , 'cgf999' Which i need to split into string and numerics in sql server 2012. Examples: 'Test123' -> var1 = Test , var2 = 123 'a3456' ->...

View Article


XML fields to data set

All, I am stuck with the SQL xml scenario. Any ideas or help will be much appreciated I have xml fields in several tables which has data in the root node Basically I want a single dynamic query that...

View Article


File Transfer in SSIS

Hi All, I have to perform a file transfer of around 20,000 pdfs which is approximately 15gb of data together. I need to execute the transfer from ssis , which allows me to choose from several options....

View Article

Return Identity insert from a remote stored proc execution

Hi , I have a storedprocedure usp_InsertNewEmployee in a remote server. I have set up linked server and a synonym for the stored procedure. I could execute the stored procedure as Exec...

View Article

SQL Groupby and Rownumber by sum

Hi All, I need your suggestion with the following scenario , I am currently trying with temp tables and rownumbers to get the desired output . CREATE TABLE [dbo].[Batch]( [BatchId] [int] NOT NULL,...

View Article

Visual Studio - DB solution Organizing

All, I am trying to set up a database solution of an existing database into TFS. One of the challenges i have is setting up synonyms. Since Synonyms vary for environment i wanted to set up it...

View Article


Image may be NSFW.
Clik here to view.

SQL Query to group relatively closer dates

I am having a tough time with grouping records based on the closer dates and one other condition In the data shown in the picture , I would like to group ProcessId 3 , 4 AND 5 together as one group...

View Article

Image may be NSFW.
Clik here to view.

ROW Filtering for User

Hi Everyone, I have a requirement to filter the data based on the user's level of access. Following is an example of how the table is structured Expected Result I have tried to implement this in join ....

View Article

Browsing latest articles
Browse All 76 View Live




Latest Images