Viewing 15 posts - 646 through 660 (of 13,469 total)
the fix for sql users is easy; use the procedure from microsoft to script out the users:
https://support.microsoft.com/en-us/help/918992/how-to-transfer-logins-and-passwords-between-instances-of-sql-server
in my case, i drop my sql logins and just recreate them...
February 7, 2017 at 7:07 am
yeah the items in the article barely merit a nod in acknowledgment , as far as considering them disadvantages.
i couldn't call any of them show stoppers, or identify what...
February 3, 2017 at 3:50 pm
post migration, it's mandatory to rebuild all your indexes ; the statistics are different than the new sql engine expects, andyou'll see poor performance until you rebuild your indexes and...
February 3, 2017 at 3:45 pm
back in SQL2000 days, there was an undocumented flag DBCC TRACEON(257) that would format xml when sent to text view; you could try that, but I'd bet you need to convert...
February 3, 2017 at 10:22 am
i had to google it myself, as my answer would have been to identify the advantages i know of instead...the things i thought of was compiled/faster code,ability to tune, code...
February 3, 2017 at 8:01 am
whatever is passed to xp_cmdshell needs to be wrapped in single quotes!
EXEC master.sys.xp_cmdshell 'bcp "SELECT * FROM MONITORING.dbo.SIZEOUT" queryout D:\DBSizes.csv -c -t, -r \n -T '
February 3, 2017 at 6:39 am
helpful consumable format, still working on the solution:
IF OBJECT_ID('tempdb.[dbo].[#ICA]') IS NOT NULL
DROP TABLE [dbo].[#ICA]
GO
CREATE TABLE [dbo].[#ICA] (
[MsgDateTime] DATETIME NULL,
[UserName] VARCHAR(255) NULL,
[Application] VARCHAR(255) NULL,
February 2, 2017 at 12:52 pm
February 2, 2017 at 12:28 pm
i think we are just dealing with high ascii here, char 126-255, so switching to nvarchar shouldn't have an impact; i think it's just collation and case sensitivity.
February 2, 2017 at 12:10 pm
try this:
this is explicitly finding the ascii value, and replacing them; it's a modification of a strip high asciii that i had made previously.
note there are some...
February 2, 2017 at 11:58 am
your database is case-insensitive, so ?,S,? and s (four different versions of S)are found in the last replace.
you want to modify the proc to use binary collation instead
February 2, 2017 at 11:09 am
If there was no random requirement, this sounds like a bin packing problem...grab an unknown number of rows until they add up to either exactly $4000, or as close as...
February 1, 2017 at 10:20 am
as others have identified, the object was renamed with sp_rename.
OBJECT_DEFINITION and the definition in sql_modules are what is actually saved/stored.
when you go through the GUI, the...
February 1, 2017 at 5:55 am
if i try to connect to an explicit wrong port, i'd get a connection timeout error, even if the SQL Browser is running.
Server=myServerAddress,9999;Database=myDataBase;Trusted_Connection=True;
TITLE: Connect to...
January 31, 2017 at 9:12 am
Viewing 15 posts - 646 through 660 (of 13,469 total)