Viewing 15 posts - 31 through 45 (of 45 total)
I would look to join it to a date table - if you don;t already have one the below would create one on the fly for you...
declare @Dates table (Dt...
January 26, 2010 at 4:04 am
Not sure if I am missing something - would you simply look in
[dbName] >>> Programmability >>> Stored Procedures
through the ssms object explorer??
January 26, 2010 at 3:39 am
January 22, 2010 at 5:47 am
Excellent Lutz - learn something new everyday...
not thought of putting the results to text
declare @table table (EmpID int, FirstName varchar(45), LastName varchar(45))
insert @table values(1, 'First', 'Second')
insert @table values(2, 'Chris', 'Cintrella')
SELECT...
January 22, 2010 at 1:03 am
Got ya - think I'd probably create a report template with the company details as a dataset and placed in the report header and then generate further reports from the...
January 22, 2010 at 12:57 am
You can see which jobs are scheduled through the job activity monitor - however if jobs are invoked from stored procedure fairly sure they wouldn't show here - think the...
January 21, 2010 at 9:13 am
Not a web expert - but would you write a constant in the web config file or something like that ??
January 21, 2010 at 9:09 am
As far as I am aware SQL will not be able to provide the dataset in the way you require - you would need to handle the display of the...
January 21, 2010 at 6:52 am
another way would be as shown below...
declare @table table (EmpID int, FirstName varchar(45), LastName varchar(45))
insert @table values(1, 'First', 'Second')
insert @table values(2, 'Chris', 'Cintrella')
select empid
,'FirstName' NameType
,FirstName
from @table
union all
select empid
,'LastName' NameType
,LastName
from @table
order...
January 21, 2010 at 5:29 am
howabout the unpivot operator ?
January 21, 2010 at 4:49 am
If you looking to learn just SQL then you could try http://sqlzoo.net/ and definitly use BOL
January 21, 2010 at 4:01 am
If using reporting services this would be possible by using a Matrix / tablix and applying grouping
January 21, 2010 at 3:42 am
Have you tried the suggestion in this post ??
http://www.sqlservercentral.com/Forums/Topic162801-19-1.aspx
January 21, 2010 at 3:37 am
This should help you write an update statement...
-- Create Table
declare @MyBinary table(
ID INT,
ParentID...
December 30, 2009 at 7:13 am
Viewing 15 posts - 31 through 45 (of 45 total)