Viewing 15 posts - 61 through 75 (of 241 total)
Usually only Log Reader and Distribution agents running continuously. So, you don't need to stop Snapshot.
As to how long it can be paused, it depends on you environment. If replicated...
May 23, 2019 at 8:05 pm
I don't see how this is possible. UNION is a combination of rows, provided that order and number of columns are the same and have compatible datatypes. JOIN is more...
May 22, 2019 at 7:31 pm
I don't think it works like this. Parameter is what you put on the WHERE clause. If you want change table name, concatenate:
SELECT @SQLString = N'Select *...
May 22, 2019 at 5:59 pm
Your question is somewhat contradictory (or may be I'm reading it wrong). If you want the type to be used by others for any number of strings of any length...
May 22, 2019 at 3:39 pm
@Name would be a parameter in my update procedure. Unencrypted string that needs to be encrypted. You can replace it with 'My name' string from your example.
When you said "This...
May 21, 2019 at 3:52 pm
Here is what we do in the beginning of update procedure:
DECLARE @EncryptedName VARBINARY(68);
IF NOT EXISTS(SELECT * FROM sys.openkeys WHERE key_name...
May 20, 2019 at 3:16 pm
If I understood you correctly:
SELECT FName, Lname, COUNT(*)
FROM YourTable
GROUP BY FName, Lname
HAVING COUNT(*) > 1
May 17, 2019 at 8:55 pm
Check log_reuse_wait_desc in sysdatabases. What it says?
May 17, 2019 at 4:10 pm
LEFT JOIN will return all rows from table C and matching rows from sub query CCL. Unmatched rows on CCL side will be filled with NULLs. Total number of rows...
May 17, 2019 at 3:04 pm
Worked fine this time, Thank you Steve.
One more question. When I do QotD preview can I interact with it? Like select different answers an clicking Submit?
May 17, 2019 at 2:13 pm
I've asked around. Nobody confessed. 🙂 There is only handful of people with that level of access and I don't see why would anyone do something like that.
Thank you for...
May 15, 2019 at 6:01 pm
The the identity will start to break when it catches up with where the values actually are(if it's not already breaking) although check ident should fix it.
Yes. That's what...
May 14, 2019 at 8:25 pm
That identity column is a Primary Key enforced by clustered index. It is in production. Lowest value in this column is 2 (if I understand your question correctly).
DBCC CHECKIDENT returned...
May 14, 2019 at 7:15 pm
If you provide data in the consumable, ready to run format, you would usually get more responses.
Try this:
CREATE TABLE #Temp(ColB INT, ColA INT);
INSERT INTO #Temp (ColB,ColA)
...
April 30, 2019 at 9:31 pm
Ah, mine not going to work in one pass if there are different substrings from search_val, like this:
SELECT * INTO #Names
FROM (
SELECT 'Timothy Johnson Timothy' AS Name...
April 29, 2019 at 9:53 pm
Viewing 15 posts - 61 through 75 (of 241 total)