Viewing 15 posts - 2,086 through 2,100 (of 7,187 total)
You have replication in your test environment? Please don't tell me it's from a live server? OK, we're back to my original suggestion of taking a backup of...
December 14, 2016 at 3:20 am
river1 (12/13/2016)
Can I create the snapshot using t-sql instead of using GUI?What about to re-apply or delete the snapshot? can I also use t-sql?
Pedro
Sure you can. Check out the...
December 14, 2016 at 2:13 am
In this case, yes. I'd take an extra differential just before you start (ie before creating the snapshot).
You don't apply the changes using the snapshot. If you're happy...
December 13, 2016 at 9:50 am
Do the tables in question in the subscription database have exactly the same constraints as those in the publication database? What about triggers? In the properties of the...
December 13, 2016 at 9:36 am
Transactional replication? If you've inserted or deleted any rows at the subscriber at any time since the last initialisation then yes, there will be discrepancies.
John
December 13, 2016 at 9:04 am
spectra (12/13/2016)
I don't want to change datetime to any other datatype e.g date .......
Why not? You're not changing any data if you cast as date. I understand...
December 13, 2016 at 7:11 am
CREATE TABLE #John (j datetime)
INSERT INTO #John VALUES ('2016-11-10 12:12:42.100')
SELECT j FROM #John
WHERE j BETWEEN '20161201' and '20161213'
[font="Courier New"](0 row(s) affected)[/font]
John
December 13, 2016 at 5:42 am
WHERE UPDATED_DATE BETWEEN '20161201' and '20161213'
Bear in mind that this won't capture anything that happened on 13th, unless it happened at midnight (20161213 00:00:00). If you want to...
December 13, 2016 at 5:31 am
Unless you post the query, I'm just guessing. I imagine that you have different data in the tables on the two servers.
John
December 13, 2016 at 5:17 am
December 13, 2016 at 4:04 am
No need for a loop in your function. This will work for any number of weeks up to 10.DECLARE @weeks tinyint;
DECLARE @no int;
SET @no = 16;
SET @weeks = 3;
WITH...
December 13, 2016 at 3:55 am
celine.godines (12/13/2016)
Let me know if you need me to provide anything else.
Please will you provide table DDL in the form of a CREATE TABLE statement, sample data in the form...
December 13, 2016 at 3:26 am
Celine
I'm sorry, you've lost me. Please will you provide table DDL in the form of a CREATE TABLE statement, sample data in the form of INSERT statements, expected results,...
December 13, 2016 at 2:28 am
CASE
WHEN SUM([Contribution Amount]) <= 7500 THEN ''
ELSE 'Total over £7,500'
END
John
December 13, 2016 at 2:14 am
Viewing 15 posts - 2,086 through 2,100 (of 7,187 total)