Viewing 15 posts - 3,166 through 3,180 (of 8,761 total)
Quick inline calendar table example using the sample data posted previously on this thread.
😎
USE TEEST;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'tempdb..#tamp') IS NOT NULL DROP TABLE #tamp;
CREATE TABLE #tamp
( WeekNo INT, FromDate SMALLDATETIME,...
September 22, 2016 at 4:10 am
For a variable inside the procedure use this
😎
DECLARE @MY_INT_VAR INT;
SET @MY_INT_VAR = 0;
September 22, 2016 at 2:18 am
joeroshan (9/21/2016)
Select
CustomeridID.Data as CustomeridID ,
AccountID.Data as AccountID,
EnquiryName.Data as EnquiryName,
Source.Data as Source,
EventDate.Data as EventDate,
EventDays.Data as EventDays,
EnquiryCreatedDate.Data as EnquiryCreatedDate,
Description.Data as Description
FROM dbo.[DataTEST]...
September 21, 2016 at 6:38 am
This will pivot the data sets to columns
😎
IF OBJECT_ID(N'dbo.DataTEST') IS NOT NULL DROP TABLE dbo.DataTEST;
CREATE TABLE [dbo].[DataTEST](
[ID] [int] IDENTITY(1,1) NOT NULL,
Data [varchar](255) NULL
) ON [PRIMARY]
INSERT INTO dbo.[DataTEST]
...
September 21, 2016 at 4:26 am
Here is a quick suggestion for filtering the data rows from the set
😎
IF OBJECT_ID(N'dbo.DataTEST') IS NOT NULL DROP TABLE dbo.DataTEST;
CREATE TABLE [dbo].[DataTEST](
[ID] [int] IDENTITY(1,1) NOT NULL,
Data [varchar](255) NULL
) ON [PRIMARY]
INSERT...
September 21, 2016 at 4:18 am
Minnu (9/21/2016)
Restoring SQL Server database from one server to another.
Actual Database size is: 14.3 GB
But while restoring getting below error.
The database required 127533776896 additional free bytes, while only 47082643456...
September 21, 2016 at 1:21 am
Sri8143 (9/19/2016)
September 19, 2016 at 10:42 pm
Sean Lange (9/19/2016)
Eirikur Eiriksson (9/19/2016)
I'm normally very tolerant when it comes to noobs but this one only leaves me three choises😎
1) deaf
2) daft
3) dumb
I think that is only two choices...
September 19, 2016 at 3:11 pm
Sean Lange (9/19/2016)
Eirikur Eiriksson (9/19/2016)
I'm normally very tolerant when it comes to noobs but this one only leaves me three choises😎
1) deaf
2) daft
3) dumb
I think that is only two choices...
September 19, 2016 at 2:32 pm
I'm normally very tolerant when it comes to noobs but this one only leaves me three choises
😎
1) deaf
2) daft
3) dumb
September 19, 2016 at 1:58 pm
dimpythewimpy (9/19/2016)
September 19, 2016 at 1:54 pm
Jeff Moden (9/19/2016)
Eirikur Eiriksson (9/19/2016)
I'm writing few pieces on XML operation's performance in SQL Server, both generating the XML, parsing it and operations on it and I'm wondering if...
September 19, 2016 at 1:48 pm
SQLPain (9/19/2016)
CONVERT(varchar(10), L.FundingDate, 101) <=CONVERT(VARCHAR(10),GETDATE()-90,101)
--doesn't work, misses dates such 2007-11-14...
September 19, 2016 at 1:12 pm
Brandie Tarvin (9/19/2016)
Eirikur Eiriksson (9/19/2016)
I'm writing few pieces on XML operation's performance in SQL Server, both generating the XML, parsing it and operations on it and I'm wondering if...
September 19, 2016 at 12:56 pm
jasona.work (9/19/2016)
Brandie Tarvin (9/19/2016)
jasona.work (9/19/2016)
I may be just a duck, but I'm an EEVVIILL little duck!:hehe:
It's DUCK HUNTING SEASON!
EDIT: Added URL
WABBIT SEASON!
I've been in those meetings.....:-D
😎
September 19, 2016 at 12:39 pm
Viewing 15 posts - 3,166 through 3,180 (of 8,761 total)