Viewing 15 posts - 12,346 through 12,360 (of 15,381 total)
SQLKnowItAll (4/18/2012)
Sean Lange (4/18/2012)
charles-1011021 (4/18/2012)
fully understand it has nothing to do with time, but it does indicate the order rows were modifed in the table.
Not really true or an accurate...
April 18, 2012 at 1:50 pm
Like this?
select Location, MIN(Starttime), MAX(Endtime)
from #Testing
group by Location
April 18, 2012 at 1:48 pm
charles-1011021 (4/18/2012)
fully understand it has nothing to do with time, but it does indicate the order rows were modifed in the table.
Not really true or an accurate way to do...
April 18, 2012 at 1:44 pm
nadave1123 (4/18/2012)
April 18, 2012 at 1:38 pm
When posting...scroll down...there is a button down there for attachments. 😀
April 18, 2012 at 1:29 pm
I think this should closely represent what you are trying to do?
create table #MyTable
(
RowTimeStamp rowversion,
SomeValue varchar(10) default 'asdf'
)
insert #MyTable default values
select * from #MyTable
create table #MyTable2
(
RowTimeStamp rowversion,
SomeValue varchar(10)...
April 18, 2012 at 1:28 pm
Few syntax error but pretty close.
CREATE TABLE #Testing
(
Location varchar(255),
...
April 18, 2012 at 1:27 pm
Please post it in a format that is not on flickr. I am not the only person who has a net nanny at work that will not allow them to...
April 18, 2012 at 1:20 pm
More importantly what is the error message??? I bet it will tell you the problem.
"Cannot update a timestamp column" perhaps?
The timestamp (rowversion) datatype is NOT editable.
April 18, 2012 at 1:17 pm
Lynn Pettis (4/18/2012)
Sean Lange (4/18/2012)
As I posted in the other thread. The timestamp datatype is deprecated. http://msdn.microsoft.com/en-us/library/ms182776%28v=sql.105%29.aspxUse datetime to record datetime information.
If I read the link correctly, timestamp may be...
April 18, 2012 at 1:09 pm
As I posted in the other thread. The timestamp datatype is deprecated. http://msdn.microsoft.com/en-us/library/ms182776%28v=sql.105%29.aspx
Use datetime to record datetime information.
April 18, 2012 at 12:57 pm
Simple, don't use timestamp as a datatype. It is deprecated. http://msdn.microsoft.com/en-us/library/ms182776%28v=sql.105%29.aspx
If you want to record dates for things like LastUpdated use datetime.
April 18, 2012 at 12:48 pm
Excellent job posting ddl and sample!!! However I don't even being to understand what you want for output. I can't view your image. One solution is to create a temp...
April 18, 2012 at 12:37 pm
You know with over 3,000 points you really should know better than posting such vague questions. Try reading the article at the first link in your signature.
Then when you want...
April 18, 2012 at 12:28 pm
Pretty sparse on details. There is no reason that a stored proc called from a report can't use temp tables. Does the proc work when run outside the report?
April 18, 2012 at 12:24 pm
Viewing 15 posts - 12,346 through 12,360 (of 15,381 total)