Viewing 15 posts - 571 through 585 (of 13,463 total)
you have to convert all your fields to the same explicit data type.
here's a full example, based on your copy/paste:
note my CTE, which represents your data, has three...
March 31, 2017 at 10:55 am
That Msg 0/State 0/Line 0 is upsetting; i expect better error reporting than that.
it might be a known issue, that requires updating to the latest patches for 2005;...
March 31, 2017 at 5:36 am
bcp , because it is actually a command line utility,, only takes static strings, and not variables for parameters.
there's a few ways to do this.
you could always write...
March 28, 2017 at 5:46 am
CMS is always Windows auth only,
but in the same section of Registered Servers, you can add Local Server Groups, and credentials for SQL logins can be saved there;
the...
March 27, 2017 at 7:04 am
I strongly recommend using Registered Servers with both Central Management Servers and Local Server Groups, a little used feature in SSMS that can be a huge boost to your organizing...
March 27, 2017 at 7:02 am
i suspect what you really need to do is produce an exception report to find data that was inserted or updated, but that now violates a business rule, which is...
March 24, 2017 at 1:05 pm
your paste was huge, and it also appears to be a partial paste, as it's not terminated correctly. huge things like that belong in an attachment, really, and not pasted...
March 24, 2017 at 8:39 am
I built a simple query to insertmax length varchars for all the fields.
I am able to insert and select via TSQL.
could the issue be coming from your...
March 23, 2017 at 10:13 am
i think your performance problem is probably the multiple OR statements; that's likely causing a table scan. WHERE ( [PropertyAddress].[LocAddress1] != [PropertyAddress].[bioAddress1]
OR [PropertyAddress].[LocAddress2] != [PropertyAddress].[bioAddress2]
March 22, 2017 at 1:03 pm
that's actually a setting in SSMS that you can toggle back and forth.
Assuming SSMS 2016, If you go to Tools>>Options>>SQL Server ObjectExplorer>>Scripting
You currently have a checkmark for...
March 21, 2017 at 2:39 pm
kudos to you sir, nice job. playing with xquery and xml takes a bit of work!
I made some trivial changes to the query for the dataset, in order to...
March 21, 2017 at 10:19 am
Chandan you would probably get better, more specific help if you...
March 21, 2017 at 7:16 am
i think that resetting the database user(s) to match the login is the backwards way to do it; you have to re-do it with every restore.
i prefer to...
March 20, 2017 at 8:20 pm
March 20, 2017 at 10:38 am
Anyone here who is a Chapter Leader or Volunteer for your local SQL User Group, I'm just taking over the South Florida SQL server User Group, and if you have...
March 19, 2017 at 6:37 am
Viewing 15 posts - 571 through 585 (of 13,463 total)