Viewing 15 posts - 1 through 15 (of 19 total)
I have not altered the code. Its same as suggested by you yesterday:
DECLARE @Today DATETIME, @nMonths TINYINT
SET @Today = GETDATE()
SET @nMonths = 12
SELECT MonthEndDate = DATEADD(dd, -1, DATEADD(month, n.n +...
November 25, 2010 at 9:48 am
Hi, I have tried running this query,
but this is giving me dates starting from 1year plus from today's date till and back to previous 12months. AS it is starting from...
November 25, 2010 at 9:39 am
Thanks for quick reply.
November 24, 2010 at 6:57 am
Please suggest for n no of months.
November 24, 2010 at 6:44 am
I want to generate the script for all tables in one go not for one by one table
Also i want to generate the insert script for table data rows .
July 22, 2010 at 2:59 am
can u plz guide step by step how to do that
July 22, 2010 at 1:56 am
is there any solution other than this. I dont want to create a table in database. Because as and when i will be running the stored procedure one entry will...
July 5, 2010 at 1:53 am
steveb. (5/21/2010)
you could probably us ISDATE() and add the each of the columns to each other.
eg
SELECT ISDATE(col1) + ISDATE(col2)...
May 21, 2010 at 3:25 am
All the columns are of type nvarchar
May 21, 2010 at 3:25 am
This is not working. Stored prcoedure is returning the query as :
DELETE FROM sectionnumeric
FROM dbo.CreateSectionTableFromString(placementcandidatelanguageproficiency,placementcandidatetrainingsinternshipsprojects,placementcandidatequalificationdetails)
This query is giving lot of errors. I think some syntax mistake is...
April 17, 2010 at 1:55 am
DECLARE @Sample
TABLE (
Questionid INTEGER NOT NULL,
type ...
April 5, 2010 at 6:37 am
I have one more column in table as remarks.
DECLARE @Sample
TABLE (
Questionid INTEGER NOT NULL,
...
April 5, 2010 at 5:50 am
Viewing 15 posts - 1 through 15 (of 19 total)