Viewing 15 posts - 3,226 through 3,240 (of 3,482 total)
Your table is really structured like that? What happens if you get more software packages? Does the table structure change? IF y
I think storing information using this structure/pattern...
December 12, 2013 at 11:02 pm
You can import your reports into SSRS from Access, and as long as you're not using VBA functions in queries that your reports are based on, they should work. ...
December 12, 2013 at 8:29 am
How about:
SELECT x.Days, AVG(x.No_Of_IDs) As AvgCount
FROM
(SELECT Days,
count([ID]) as No_OF_IDS
FROM [Proddata]
LEFT OUTER JOIN SupplyData as S ON Proddata.Group = S.Group
GroupBy Days
) x
GROUP BY x.Days;
No CTE required.
December 8, 2013 at 11:43 pm
What if you wrap the call inside a stored procedure or function and use EXECUTE AS to change the privileges the command is executed under?
December 5, 2013 at 6:17 pm
My psychic abilities are failing me... could you explain what your goal is? Looks like you're trying to calculate a change in grades for a single (student,course) between two...
December 3, 2013 at 2:20 am
Kind of an old post, but this is how i did it.
1. Add a calculated field to the dataset.
2. Function: OnTime=IIf(Fields!Actual.Value<=Fields!Predicted.Value,1,0)
3. Add a tablix to the report
4. 1st column:...
December 2, 2013 at 9:29 pm
Kind of an old post, but this is how i did it.
1. Add a calculated field to the dataset.
2. Function: OnTime=IIf(Fields!Actual.Value<=Fields!Predicted.Value,1,0)
3. Add a tablix to the report
4. 1st column:...
December 2, 2013 at 9:28 pm
Open the report in design view.
Right-click a column, show properties.
Click on the Visibility tab.
When the report is initially run HIDE
Display can be toggled by this report item (choose a textbox)....
December 2, 2013 at 8:39 pm
While you could certainly do it that way, I absolutely would not. If you concatenate everything and dump it into a new column or create a calculated column, you're...
December 2, 2013 at 4:01 pm
Why do you need to create a table in SQL Server at all for this? You can base your report on a stored procedure and you're off to the...
December 2, 2013 at 3:23 pm
Brad,
Welcome to SSC... consider yourself schooled. (I'm still there, and I've been here for a while!)
Looks like you're a recovering Access/VB(A) programmer. Definitely true what Jeff said. ...
December 1, 2013 at 8:06 pm
One way to do what you want is to attempt the insert inside a TRY/CATCH block, and then use an OUTPUT parameter to return the error number to it when...
December 1, 2013 at 2:07 pm
BETWEEN 2013-11-26 13:49:00 AND 2013-11-26 13:49:59?
November 26, 2013 at 5:14 pm
https://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/
Happy reading!
November 25, 2013 at 11:50 pm
You mean something like this?:
SELECT UniqueNum
,Somenum
, CHAR(ROW_NUMBER() OVER (PARTITION BY SomeNum ORDER BY UniqueNum ASC)+64) AS LetterSuffix
FROM #temp_Alpha_num
ORDER BY uniquenum,Somenum ASC;
so that when you get 121A to 121F and then...
November 25, 2013 at 5:19 pm
Viewing 15 posts - 3,226 through 3,240 (of 3,482 total)