Quantcast
Channel: Questions in topic: "left"
Browsing latest articles
Browse All 12 View Live

Date Filtering

I have a query and for some reason my date is not letting the records pass thorugh to the results. Below is the snippet where i do get successful results SELECT CUST_ACCT_ID, CNTRCT_LEAD_ID, BEG_DT,...

View Article



remove empty strings from paramater list

I have a report stored procedure using a multi value input for paramaters the input uses a comma split string as the paramater. i need to remove any spaces entered by the user so that the paramater...

View Article

Column header underline length consistency

I have noticed the LEFT TSQL statement within SSMS (Results to Text) returns a different length column header underline if you use a declared integer variable rather than a hard coded integer as can be...

View Article

SQLite LEFT JOIN & WHERE Clause confusion

I have two Tables: **Table 1: Questions**: QuestionId NUMERIC Title TEXT **Test Data in Question Table:** QuestionId Title 1 What is your name? 2 What is your age? **Table 2: Answers:** AnswerId...

View Article

Left join and Right join works same but why do we have both?

We have left join and right join in sql server and both works in same way in logical. But why we have both join vailable.? What is the difference in parsing these two joins.? In which case we will...

View Article


I am trying to convert a var char time period to numeric

I have a column called time_period and data in it looks like this 0:00 - 0:59 it tracks through those time periods next will be 1:00 - 1:59 and so on. I want to write a query where i sort these in asc...

View Article

How do I remove the first 12 characters AND drop the last character in a string?

my table has the following:IDLogin1abcdefghijk\smith02abcdefghijk\roberts03abcdefghijk\canton04abcdefghijk\mortenson05abcdefghijk\anderson0I need to see only the name, without the 0.This following...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images