Hallo,
ich habe mir den Code einer .NET Seite angeschaut. Dort wird das aktuelle Datum mit { fn NOW() } in eine SQL DB eingefügt. Denke mir, das ist sowas wie eine Datumsformatierung.
Habe schon rausgefunden, das fn mit Scalar Function Calls zu tun hat, habe aber noch nicht den Sinn verstanden.
Kann mir das jemand erklären? Was macht fn?
Aus msdn:
Scalar Function Calls
Scalar functions return a value for each row. For example, the absolute value scalar function takes a numeric column as an argument and returns the absolute value of each value in the column. The escape sequence for calling a scalar function is
{fn scalar-function}
Danke & Gruss,
fotzibaer