Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seconds()
Message
From
11/02/2019 13:41:37
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01666213
Message ID:
01666281
Views:
51
>>>Thanks sir for helping
>>>
>>>But
>>>
>>>These codes will not update nSeconds column in SQLserver table.
>>>
>>>I need for sqlserver, please
>>
>>
>>Take a look at the LAG capabilities with the OVER clause. I wrote about LAG (and its partner, LEAD) here: http://www.tomorrowssolutionsllc.com/Articles/Using%20Over%20with%20Analytic%20Functions,%20Part%201.pdf. They let you access data from preceding and following records.
>>
>>Tamar
>
>Hi,
>
>Muhammad use MS SQL 2008R2. LAG() and LEAD() are since MSSQL 2012.
>


Good catch. I missed the 2008 constraint.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform