Quantcast
Channel: Microsoft SQL Server
Browsing all 4871 articles
Browse latest View live

SQL Server Code

Good dayI am struggling with writing a code to copy only charachters from columns that contains mixed data.For example: Column1558ABC9966AB875XYZLMN94328Is there a code that help me copy only the...

View Article


SQL Server 2016 and the need to restart after every install

Greeting guys,Last week, we upgrade some server and start doing test with SQL server 2016, the goal here is to put all our SQL server 2014 into 2016. The way we are working, is every "big customer"...

View Article


Convert currencyformat

I am running a SQL query that returns currency entries in the format of 21.0700. I need it to return the values in the format 00002107.  

View Article

best course for basic maintenance of SQL server?

After 20+ years of sysadmin work we will have a SQL server for the first time. Basically for a piece of CRM software.So SQL 2017 was installed and the CRM software will be deployed.My question... what...

View Article

Access Issue in SQL Server

Hi Team,One one user getting below error while executing the SP from the database."The EXECUTE permission was denied on the object 'xp_logevent', database 'mssqlsystemresource', schema 'sys'Login: AD...

View Article


SQL Linked Server to mirrored database

I'm trying to setup a linked server to a set of mirrored SQL databases, and am running into troubles. In the connection string, I've...

View Article

Azure SQL Server VM Windows Authentication: Unable to Connect

Hi all,There is no lack of information available to resolve this issue, but I can't seem to make any of it work. I can connect to SQL Server using SSMS and SQL Server Authentication, but not Windows...

View Article

Downgrade from SQL 2014 Express to SQL 2012 Standard

I will try to keep this simple and to the point. There are many parts so hang with me.A software provider will be updating their software on our current server which will require SQL 2012 Express or...

View Article


substract four hours from current date time and get date

Hi,How can subtract four hours from current date time and get date.example current system date time is 2018-07-13 02:00 am then I need  date 2018-07-12 . four less system date time is  2018-07-13 04:00...

View Article


Replace Sql Server for Consumer Samples / Data

Currently we have a hosted SQL server with Rackspace. We use this to gather data from Consumers who request a sample of our product. This is fine for the DBA but does not show  information to Marketing...

View Article

SQL Server Standard Per Core Licensing

Quick Question Regarding Per Core Licensing SQL Server Standard:Hardware to be installed on is 16 core total available to the Hyper Visor.  4 Cores will be provided to Windows Server 2016 supplying SQL...

View Article

SQL Server 2012 out of space

Hi all, I have a problem with my database I am running out of space there are left 2 GB and all my database space is actually taking one table that is a report table for storing logs and etc I tried to...

View Article

Update

HelloIs it possible to update one column in the table without affecting the other columns?I have a big table and some of it's columns had already data but when I updated one column from another table...

View Article


Listener does not connect to the correct instance.

Hi,I have an instance with Always ON and two replicas, one of primary and one of secondary. I have created another instance and enabled Always On, each group located in different instances has a...

View Article

SQL Query using multiple values

HelloI'm trying to update a field in a table based on a condition that another field has a certain value:UPDATE dbo. mydatabasetable SET myfieldname1  = 'XYZ' WHERE  myfieldname2=...

View Article


Best options for self learning SQL

Wanting to pick the brains of fellow Spiceheads... What tools/books have you utilized to teach yourself SQL or other options that you can recomend? I will be learning on MS Server 2016 and MS SQL...

View Article

Query where column output is a link to web page

I am fairly new to SQL and have been doing weekly queries assigned by my boss so the dept can become more efficient in doing queries and learning SQL. This week's query has me stumped. We have to come...

View Article


DB migration from 2008 to 2016

We are planning to migrate SQL DB from 2008 server to 2016 server.Anyone can help me with the right approach.Thanks,Amir

View Article

SQL Application issues

Hi allI'm having a devil of a time trying to resolve an SQL application performance issue and run out of ideas. The application is a local client install that talks to a SQL DB and also relies on a set...

View Article

Image may be NSFW.
Clik here to view.

retrieve image through following query in ERP

Hello,I am trying to retrieve image in one portlet through following script. My path is correct. I can see that image in browser using that path. However, that path is not working in a script. Do you...

View Article
Browsing all 4871 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>