Viewing 15 posts - 3,286 through 3,300 (of 8,761 total)
Quick question, what is the Isolation Level set by the applications?
😎
August 20, 2016 at 10:09 am
Can you please post the DDL (create table), some sample data as an insert statement and the expected results?
😎
What you have described so far isn't a complex task but it...
August 20, 2016 at 5:24 am
The way you describe it here does not fully match the initial requirements, can you please elaborate?
😎
Generating the output in the format described in your last post is easy, here...
August 20, 2016 at 3:19 am
To clarify, are you looking for a form of Consecutive Number Sequences, i.e. for the values 1-3 you would have the combinations below?
😎
1
12
123
13
2
23
3
August 20, 2016 at 2:15 am
Quick questions for clarification:
1. Why are you doing this?
2. What is the end goal?
3. What is the cardinality of the table?
4. Should each combination...
August 20, 2016 at 12:09 am
Quick alternative to Chris's solution, this one catches better the fractional end hours
😎
USE TEEST;
GO
SET NOCOUNT ON;
--http://www.sqlservercentral.com/Forums/Topic1810466-3077-1.aspx
--/* -- UNCOMMENT THIS LINE TO SKIP THE SETUP
-- sample data setup
IF OBJECT_ID(N'dbo.MyTable') IS NOT...
August 19, 2016 at 9:25 am
vprunic (8/19/2016)
what does this mean?
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult:...
August 19, 2016 at 7:47 am
Quick example, recommend you add constraints to the data type columns to prevent malicious code injection.
😎
USE TEEST;
GO
SET NOCOUNT ON;
--
IF OBJECT_ID(N'dbo.TBL_TEST_DYNAMIC_CREATE') IS NOT NULL DROP TABLE dbo.TBL_TEST_DYNAMIC_CREATE;
-- Create the table definition...
August 18, 2016 at 11:42 pm
BrainDonor (8/17/2016)
ChrisM@Work (8/17/2016)
We have git hubs all over the UK. They're also known as Weatherspoons.You owe me a new keyboard...
😀
...just managed to save mine
😎
August 17, 2016 at 3:03 am
yujinagata72 (8/16/2016)
Hi,Sometimes when I ran the profiler, I can see some select statement with Writes as well. Is that normal?
Thanks,
Perfectly normal.
😎
August 16, 2016 at 11:56 pm
Quick suggestion, opening the plan in SQL Sentry Plan Explorer is probably the easiest way to do this, trying to query/analyse the plan can be a very complex task.
😎
August 16, 2016 at 8:49 am
Snargables (8/16/2016)
August 16, 2016 at 8:42 am
Quick solution for SQL Server 2008
😎
First add this POC index
CREATE NONCLUSTERED INDEX NCLIDX_DBO_ZZZ_SSC_HELP_GROUP_STARTDATE ON dbo.zzz_SSC_Help (GroupID ASC, StartDate ASC) INCLUDE (EndDate);
The query
;WITH BASE_DATA AS
(
SELECT
...
August 16, 2016 at 7:37 am
Viewing 15 posts - 3,286 through 3,300 (of 8,761 total)