Jump to content

sql nerchukundam randiii... Ms sql server technology discussions...


mtkr

Recommended Posts

issue: SSRS rep ni excel ki export chesinappudu last lo col getting hidden(Extra column)... 

Soln: oka 1 hr mind tinnadiii ardam kaaka... 

round up the val of text boxs(all columns) width.. until 2 decimals is fine...

http://blogs.msdn.com/b/how_to_eliminate_merged_and_hidden_cells_issue_from_excel_export_of_ssrs_report/archive/2013/05/17/how-to-eliminate-merged-and-hidden-cells-issue-from-excel-export-of-a-ssrs-report.aspx

Link to comment
Share on other sites

On 6/4/2016 at 1:11 AM, loveindia said:

don't post easy kochens like this man... see below...

;WITH CTE AS (
SELECT '123' AS ClaimID
UNION
SELECT '1234A'
)
SELECT ClaimID
FROM CTE
WHERE ISNUMERIC(ClaimID) = 1
UNION
SELECT LEFT(ClaimID, LEN(ClaimID) - 1)
FROM CTE
WHERE ISNUMERIC(ClaimID) <> 1

;WITH CTE AS (
SELECT '123' AS ClaimID
UNION
SELECT '1234A'
)
SELECT ClaimID
FROM CTE
WHERE ISNUMERIC(ClaimID) = 1
UNION ALL ----------------------------------------- ekkada union all pettu bro......................... ( union vaddu)
SELECT LEFT(ClaimID, LEN(ClaimID) - 1)
FROM CTE
WHERE ISNUMERIC(ClaimID) <> 1

Link to comment
Share on other sites

On 6/2/2016 at 1:18 PM, loveindia said:

ee thread enti ila undi man...

SQL always on lo oka node on-prem and oka node cloud lo pettali. dani setup ela cheyyali ? enni listeners kavali ? enni IP addresses kavali ? enni Load balancers kavali etc ? full details pls 

idi nenu kadu.. saamy adigaadu

Link to comment
Share on other sites

start time inka end time ki time differene kavali but DATEDIFF(MINUTE, START_TIME, END_TIME) as Duration use cheste getting thi error

Arithmetic overflow error converting expression to data type datetime.

cast convert anni try chesna but not working... data type for columns is defined as INT and values are llike this : 43800000
39600000
39600000
47640000

 

what to do?

Link to comment
Share on other sites

so what does this  43800000  define ante does it have date part hour part or minute part?

because if you have something like this 20151216234436 where 2015-12-16 23:44:36 then substring and replace use cheysi achieve cheyochu

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...