
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..
Passing multiple parameters to a function
Aug 7, 2013 · There are a few ways to skin this cat, but I would replace the scalar function with a table function that accepts either a comma separated list of arguments or a table valued …
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 …
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 …
is there any TOOL to convert sql code to SQLCMD
Jan 15, 2012 · Question 0 Sign in to vote is there any TOOL,function,stored procedure to convert sql code to SQLCMD like i put my code and it convert and print the code in format "SQLCMD" …
Number to word in SQL - social.msdn.microsoft.com
Aug 8, 2011 · hi amin if you want to convert value to words in Sql Server then make a function and call it i give the simple code for converting integer value to word DECLARE @i int, @temp …
Financial function - social.msdn.microsoft.com
Jan 17, 2006 · Anyway, what is the reason for trying to implement the function in SQL Server? You can get the data from SQL Server into Excel easily and perform the computation there.
How to use rank function in report? - social.msdn.microsoft.com
Jul 30, 2010 · If possible you should use the new ranking function added to SQL in SQL 2005. These functions are row_number (), rank (), danse_rank () and NTile (). But if you want ranks …
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. …
SSAS UTC time column in fact table - social.msdn.microsoft.com
Jun 10, 2012 · Using a date function on the fact table column in order to determine the month (or sub-stringing), however, means that any index on the date column in the fact table cannot be …