Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How many records have been loaded into table per load timestamp

$
0
0
Hi, Everyone

I need to create log table (group data from COR and put information to log table about how many records have been loaded into COR table per load timestamp). I've already tried add a timestamp column to table but after add a records it shows NULL value.


Even If I use this statement:
CREATE TABLE ExampleTable (PriKey int PRIMARY KEY, created_at timestamp);  


and add test value:

INSERT INTO ExampleTable (PriKey, created_at ) Values (1, DEFAULT);

My result on created_at column is rowversion data type...

I'm using SQL Server 11.02.2100, (SQL Server Managment Studio v.17.9)

Of course it could be a really wrong way to solve this, please help me find right path. 




Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>