Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Data.SqlTypes;
- public class Wynik
- {
- [Microsoft.SqlServer.Server.SqlFunction]
- public static double? Reszta(double? a, double? b)
- {
- return b == 0 ? null : a % b;
- }
- [Microsoft.SqlServer.Server.SqlProcedure]
- public static void ResztaProc(double? a, double? b, ref double? _c)
- {
- _c = b == 0 ? null : a % b;
- }
- [Microsoft.SqlServer.Server.SqlFunction]
- public static int? LiczZnaki(SqlString path)
- {
- return path.IsNull ? null : (int?)path.ToString().Length;
- }
- }
Add Comment
Please, Sign In to add comment