About 7,900 results
Open links in new tab
  1. Replace NULL Value In Date Field - social.msdn.microsoft.com

    Jul 2, 2014 · Like in Sql Server do we have a Replace function or ISNULL function which exactly works..

  2. How to call oracle function using C#? - social.msdn.microsoft.com

    Jan 11, 2011 · SQL> SQL> create or replace function get_emps 2 (p_args in qry_params ) 3 return sys_refcursor 4 as 5 stmt varchar2(32767); 6 rc sys_refcursor; 7 begin 8 stmt :=' select * from emp'; …

  3. Removing last two characters from nvarchar

    Feb 16, 2011 · So in my function I have @sql variable which is nvarchar. This value is returned by the funtion.

  4. Function for date sequence - social.msdn.microsoft.com

    Dec 31, 2018 · Actually if you need you can use SEQUENCE object itself in SQLServer. Its available from 2012 version onwards CREATE SEQUENCE dbo.BigIntSeq START WITH 1 INCREMENT BY …

  5. Split comma separated list without using a function

    Apr 16, 2015 · I have a table of records with a column with a list separated by commas. I want to split this list and have a row for each however I don't have access to create functions myself. Is there any …

  6. Help Slow Query using User Defined Function

    May 3, 2011 · In general you should avoid scalar value functions that join to tables simply because if that function is used in a query that returns multiple rows then it's joining those tables together …

  7. Double Quotes in a SQL Query.. - social.msdn.microsoft.com

    Dec 11, 2008 · i thought the following would work - but nope! sql.replace (" ' ", " " ") <-- ignore the spaces, just so you can see what i mean... Reason for the replace: i want to use a double quote in an …

  8. How to include NULL in multi value parameters

    Jun 25, 2014 · Also using isnull () function to replace divname in other query. This might be the most effective work around. Reference: Null and Multi-value parameter possible Include Null Value Multi …

  9. Alter Column Null and Default - social.msdn.microsoft.com

    Sep 14, 2009 · Once I get a series of Transact SQL commands that perform as desired, I can write a procedure that steps through all tables with the same column name and alter the column constraints.

  10. SQL 2012- Find (only Null) Columns in Database tables

    Oct 6, 2016 · You could have a look at following demo that get the column names which have NULL or empty value. In the code, the “ColName” and “ColValue” could be fixed, the “id” and “col1” in the …