Viewing 15 posts - 61 through 75 (of 279 total)
Ninja's_RGR'us,
We have a table with each patient record where they can have multiple opeation code (up to 15 operation). it has to be in a separate column as most of...
June 28, 2011 at 10:59 am
GSquared,
I hate myself for not thinking this. It is one of the best solution. There must be other alternative where i can Unpivot it and then write the select statement....
June 28, 2011 at 10:49 am
We have to have a separate column for each operation code. Any patient can have more than one operation and all listed from operation 1 to operation 14. It is...
June 28, 2011 at 10:21 am
Thanks for the feedback.
It seems it helps if experience developer or DBA share their knowledge of real time problems and how to speed it up queries etc.
April 1, 2011 at 1:12 am
I got the solutions....
-- Create a test table
CREATE TABLE [TESTSTATS]( intKey INT, x FLOAT, y FLOAT)
-- Populate the test table with random data
DECLARE @intCount INT
SET @intCount = 1
WHILE @intCount <...
January 4, 2011 at 5:01 am
If i understood this right then you can create a dataset and write the t-sql query to count(*) the test and show it in the textbox....if it is not the...
December 31, 2010 at 2:17 am
You need to use case statement instead of If.
SELECT dbo.tblWorkDocu.WorkID, dbo.tblWorkDocu.LastEditOn,
case when DATEDIFF(day, tblWorkDocu.LastEditOn, tblWorkDocu.CreatedOn) = 0 then 'New' else 'Edited' end as aaa
FROM dbo.tblWorkDocu;
Hope it helps.
December 31, 2010 at 1:36 am
You need to check the dateformat in the date time field you are using. If it is ymd then set on top before running t-sql statement to
set dateformat ymd
if...
December 30, 2010 at 10:17 am
You can do this using data driven subscription in reporting services.
Let me give you an example.
I have different branch details in my database with manager assigned to each...
October 8, 2009 at 5:32 am
If you are using stored procedure then you can format your parameter (start id and end iD) as you like and then use into SQL code.
June 18, 2009 at 9:57 am
did you check the dataset assigned to the table itself? it might be that table is having different dataset.
June 18, 2009 at 9:54 am
you can create parameter in report with start date and end date and type should be date time. Then you pass that parameter into your stored procedure and get the...
June 18, 2009 at 9:51 am
Yes with simple subscription it will happen. You need to use data driven subscription where you can write query to find out if there is any record available to sent....
June 18, 2009 at 9:48 am
does it mean you want to show it from 1st march 2008 to 30th june 2009?
When you get the parameter into the stored procedure then get the month and year...
June 18, 2009 at 9:45 am
Viewing 15 posts - 61 through 75 (of 279 total)