Viewing 15 posts - 7,066 through 7,080 (of 8,753 total)
Here is a quick example using a Tally/Numbers CTE
😎
USE tempdb;
GO
SET NOCOUNT ON
/* Generate a set of dates at a given interval
from the start date untill the end...
September 14, 2014 at 10:02 pm
charipg (9/14/2014)
B. No result , i mean no dbs showing as cdc enabled.
actually i checked your ...
September 14, 2014 at 1:37 pm
Quick thought, do you have an example of the XML, depending on the complexity and structure one might find something that fits the purpose.
😎
September 14, 2014 at 3:18 am
You will find instructions here
😎
September 14, 2014 at 3:12 am
girl_bj (9/14/2014)
May I know what does the 7 means?SUBSTRING(SD.ColumnA,1,CHARINDEX(' ',SD.ColumnA,7) -1 ) AS FIXED_PART
It tells the charindex where to start searching for the character.
😎
Hotel A146 10/25/2014 hotel...
123456789012345678901234567890
...
September 14, 2014 at 2:22 am
First, apologies for the piecemeal like answers:-)
From the top of my head, most likely causes:
A. Insufficient permissions for the SSIS execution user account, the "user" doesn't have enough/right permissions.
B. CDC...
September 14, 2014 at 1:54 am
Quick thought, when you pass the uniqueidentifier value to the procedure, you will have to pass it as a string, here is an example:
😎
USE tempdb;
GO
SET NOCOUNT ON
IF OBJECT_ID('dbo.SAMPLE_UNIQEID') IS NULL
BEGIN
CREATE...
September 14, 2014 at 12:40 am
elham_azizi_62 (9/13/2014)
SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:4911282; actual 1:4911010). It occurred during a read...
September 14, 2014 at 12:19 am
Here is a quick solution using the charindex function to locate the boundaries. The first one depends on the first word being consistent, the second one has slightly more flexibility...
September 13, 2014 at 11:47 pm
Quick thought, you may want to take a look at Jacob Sebastian's XMLTable function. Also if you have an XSD for the XML, you can create a schema collection and...
September 13, 2014 at 3:24 pm
Quick note, Alberto Ferrari gave a very good talk on optimizing DAX queries at the last SQLBits where he explained in good details the Vertipaq/xVelocity compression, rowgroups, deltastores etc. Also...
September 13, 2014 at 3:05 pm
This code
CREATE SYNONYM Emp
FOR Human.Resources.Employee
;
go
select
BusinessEntityID
, NationalIDNumber
, JobTitle
from Emp
;
will not work as there is no such thing as
Human.Resources.Employee
Try it out if you don't have...
September 13, 2014 at 2:39 pm
Here is another way of doing this, slightly more flexible
😎
USE TESTDB;
GO
SET NOCOUNT ON;
DECLARE @SEARCH_VALUE INT = 19;
DECLARE @TXML XML
set @TXML = '<row id="10000000" xml:space="preserve">
<c1>Name 1</c1>
<c2>Name 2</c2>
<c10>40</c10>
<c10...
September 13, 2014 at 1:29 pm
raymond.konker.williams (9/4/2014)
Help how can i remove line breaks from my xml data when i export it to excel it breas
Hi and welcome to the forum.
Could you provide some sample...
September 13, 2014 at 12:34 pm
Jeff Moden (9/12/2014)
September 13, 2014 at 12:32 pm
Viewing 15 posts - 7,066 through 7,080 (of 8,753 total)