cuidados saude
They simply emerged as a characteristic of the [url=http://cuidados-saude.br.com/e-fator-genius-scam-ou-falsificado/]FATOR GENIUS[/url] laptop model and have been now not programmed into it. This...
View ArticleNon-aggregating pivot
I'm trying to write a query to turn this record set:eventtype eventdatetimestart 2016-05-17 08:00:00.000start 2016-05-17 09:10:00.000start 2016-05-17 09:40:00.000stop 2016-05-17 08:10:00.000stop...
View ArticleMax date among records and across tables - SQL Server
[quote]MS mId tdId name dueDate1 1 forecastedDate 1/1/20152 1 hypercareDate 11/30/20163 1 LOE 1 7/4/20164 1 LOE 2 7/4/20165 1 demo for yy test 10/15/20166 1 Implementation – testing 7/4/20167 1 Phased...
View ArticleUsing Condition in Select
hi,Trying to find the below conditionIf he is shift 1 shifttype 1 then the record comes from employee tableif he is shift 2 shifttype 4 then the record comes from shiftscheduler table So consider in...
View ArticleColumn Store and Segment Elimination with #Temp table Join
Hello SSC Members,I am not sure if many SSC members have started to use Column Store indexes but I have a question on if this is possible or perhaps another way to write the SQL.We currently have a...
View ArticleOpenquery On VIEW No Data Return
Hi, I dont speak so much english...sorryI have a views and tables in a server Oracle, in my server (sql) I try to access by openquery, query works fine on table but view return only structure of...
View ArticleOSQL leaving spid with sleeping status after each exec
Hi we have an ETL from one DB to another on the same server but we don't want to use SSIS and we want to exec all the ETL SP's at the same time for speed of the incremental loads currently about 60...
View ArticleCALCULO DE PORCENTAGEM COM CONDIÇÕES
good afternoon ,I'm hum code that brings me the values of the fields Table , however When I " * 100 / " it 's all me 100 % Being que value would be the amounts of ordserv . generated /...
View ArticleInsert values into single record
Using While Loop i want to insert the values into single record like thisEmpid empname D1 D2 D3...D301 asd 2Loop Executes second timeEmpid empname D1 D2 D3...D301 asd 2 2Loop Executes third timeEmpid...
View ArticleIssue: 'Select Into' with identity column
Hi everybody. I noticed a strange behaviour using a 'select into' statement with an identity column in source table.Usually I put the identity field in a cast statement in order to avoid its...
View ArticleSimple SQL challenge - who can solve
Hi,Simple little requirement.Need to display first date of each of the 12 months prior to current date, i.e. "Last Twelve Months" for reporting purposes.i.e. today is 10th May 2016 so we need...
View ArticleChecking condition in 2 tables
i have 2 tables one is emp and another is emp1Step 1 : IN Stored procedure pass input empid,from_date and end_dateEx: EXEC shift1 9999,'2016-05-01','2016-05-20'First date it has to check for the entry...
View ArticleT Sql Query
Good day Experts,I am new to Sql and i have a stored proc with a colomn name @BackupDrive2 nvarchar(1).The stored proc is fine as it is,However i was asked to add that BackupDrive2 to a query in ssrs...
View ArticleGo in SP
We never use GO at the end of SP in sql 2005 and we never had any issues from application.Now we migrated to sql 2014 and we are getting errors in application. When we use GO at the end of SP it goes...
View ArticleMulti-Table Hierarchies in SSAS 2014 Tabular
is it possible to make a hierarchy out of multiple tables in SSAS 2014 Tabular? For example, let's say there is a Division table and a Department table. Each Division contains one or more Departments....
View ArticleHow to avoid multiple if else in sql server
Hi,I want to simplify the below code . Is it possible to write the below code using case statements or any alternate method.DECLARE @A AS INT;DECLARE @B AS INT;DECLARE @Parameter1 AS INT;DECLARE...
View ArticleIs COLLATE able to sort for line break characters?
Hi,I was working with some address data and came across a few Zip Code entries that were proceeded with a carriage return and line feed. I attempted to remedy this using collation, but I was unable to...
View ArticleTotals question
Hi I have a dataset i used from a sql query i built. It has 3 columns.. See below for Sample in comma seperated values.Basically I need to add a column to the dataset called "TransactionTotal" and add...
View ArticleException handling in SP
I have stored procedure calling another stored procedure consider SP1 calling SP2,in SP2 i am getting exception which SP2 it has to stop exeucting then returning to SP1 also by calling the exception...
View ArticleBigShop ( http://htstore.info/ ) selling php mailer inbox, smtp, shell c99,...
We wish You happy shopping with us , and good spamming results !Shop: http://htstore.info/Yahoo: ru.smtpinboxSPAMMING TOOLS- Fresh SMTP - IP or Domain - ISP specified , SMTP checker is available too .-...
View Article