Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
'Parameters were not supplied for the function' error in SQL Server fi...
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
IF EXISTS ( SELECT * FROM sysobjects WHERE id = object_id(N'fX') AND xtype IN (N'FN', N'IF', N'TF') ) DROP FUNCTION X GO CREATE FUNCTION X ( -- Add the parameters for the function here @a nvarchar(30), @b nvarchar(30) ) RETURNS @output TABLE ( -- Add the column definitions for the TABLE variable here data nvarchar(250) ) AS BEGIN INSERT INTO @output (data) VALUES (@a + @b) RETURN END GO SELECT * FROM X('Hello',' World') DROP FUNCTION X
View schema
Execution time: 0 sec, rows selected: 1, rows affected: 0, absolute service time: 0,17 sec
edit mode
|
history
data
1
Hello World