Converting SSIS 2012 Packages to 2014
I am attempting to migrate 2012 packages that are stored in the SSISDB catalog to a 2014 instance. After migrating the catalog failed, I moved on to a more traditional technique of creating a new...
View ArticleORACLE WITH MSSQL TALBE (Need Help) without link server
hey i have db in mssql and i want to select. update insert to oracle table. can i create table,view or somthing in mssql (i have odbc to oracle) ? like mirror of oracle table.when i update in table...
View ArticleSQL error: A severe error occurred on the current command. The results, if...
I am using VS Studio 2105 to create a console app and SSMS 2014 v 12.0.410. I am running a VB.Net console app that does polling on the 0 and 30 second mark. It will do this 24 by 7. As part of the...
View ArticleBusiness rules in software development
A question about Software application development and SQL database.We are implementing .net applications that uses SQL server as backend databases.When developing the applications what is the best...
View ArticleError configure for data convertsion
Dear experts,I have 2 dbs named Corporate and Consumer that same everything( fieldnames, datatype...)located on 2 sparate servers, so now i need to use SSIS to load data from them into my dwh and give...
View ArticleHow do you work with multiple developers on same DB
Hi AllOur dev team is growing. We use red-gate toolbox, so we have schema compare, data compare and source control. for the past few years we have used a shared database for source control (with SVN)....
View ArticleGet range of on the basis of Value grouping
Hi ,I have below table CREATE TABLE #tmp(Date DATE, Amount Int)INSERT #tmp ( Date, Amount )SELECT '2016-10-01',2700UNIONSELECT '2016-10-02',2700UNIONSELECT '2016-10-03',2700UNIONSELECT...
View Articledecrypt and concatenate strings in select
I want to do this:SELECT (CAST(DecryptByKey(LastName) AS NVARCHAR(200)) AS LastName + ', ' + CAST(DecryptByKey(FirstName) AS NVARCHAR(200)) AS FirstName) AS NameI've tried many variations of this but I...
View ArticleSSRS 2014 How to pass Multiple values with like operator in a parameter
Hello,I am new here and looking for some help in ssrs 2014. The actual problem is that I want in a @Parameter the user to be able to enters multiple values. For example [AAABBB, BBBAAA, AAACCC, ....]...
View ArticleDate issue - when the time portion is 09:59:59.997
Why do my dates show differently as they are the SAME date/time? 1 shows the hour as 9 the other as 10. I want them both to show as 9.I set a date as: '2016-10-19 09:59:59.997' and display it. DECLARE...
View ArticleQuery performance
Hello,I have a view selecting from two tables that combines the results with a UNION ALL. Both SELECT statements are selecting from a column like as follows:SELECT CAST('ACTION' as NVARCHAR(255)) as...
View Articlesys.dm_tran_locks or How to avoid a TRUNCATE TABLE to be blocked
I have a couple of processes that will (re-)populate a table nightly - a simple TRUNCATE TABLE and INSERT INTO / SELECT FROM. There should not be any application activity at this time, but experience...
View Articletrigger for table
I have a table for example called ServiceCase, it has a closedDate. Meaning if the case status changed to something means end of the case, then it should mark a closedDate. Otherwise, if it is...
View Articlequery for count
I have an attendance table with each student has each absent date in the table.How can I make a query that in any rollover 30 days back from a beginning date to now for any student has more than 7...
View ArticleColumnStore Index
We have a DataWarehouse with Large Fact Tables . The Some of the tables have about 30 to 60 Columns and we also have some denormalized tables that are nearing 300 columns. We are using SQL Server...
View Articleinsert a new row(s) into sql table A from table B
Hello,I am using SQL Server 2014. I have two table the first one is Table_A and Table_B.I want to copy row(s) from Table_B into Table_A based on a condition. The first condition is a sequence number...
View ArticleSSMA for Oracle 5.3 dbo.xp_ora2ms_exec2_ex
I'm getting a failure with the use of dbo.xp_ora2ms_exec2_ex in SSMA 5.3 on a SQL 2014 installMsg 17750, Level 16, State 0, Procedure xp_ora2ms_exec2_ex, Line 1Could not load the DLL...
View ArticleViews from other database (Same server)
Hi all,Currently we are developing a new application for our company and I got a question related to the database architecture. We one database (DatabaseA) that is our main database, our main...
View ArticleSQL 2008 SSIS/SSRS conversion to SQL 2014
I'm have the job of moving a system from SQL 2008 to SQL 2014 and there are some SSIS packages and SSRS reports written in Visual Studio 2008 BIDS. In order to run these on SQL 2014, I know that I have...
View Articlehow to pick the latest record from a table and insert into another table
I have a scenario where I have to create a replication of a target table along with source Id field.If I have Target Table with columns :Target_ID,name,createdate which is getdate()Then my target...
View Article