Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 4729 articles
Browse latest View live

Cannot start sql server in antergos linux: Unit mssql-server.service has a...

I can no longer start <g class="gr_ gr_32 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="32" id="32">sql</g>-server on <g class="gr_...

View Article


Best way to handle insert/update process for application with high...

I have been working on my single page application for the past few months and while trying to improve some things on the back end I started digging more into my process of Insert/Update and database...

View Article


Creating a Stored Procedure on Multiple Servers

Hi,How can i Push/ create a stored procedure onto multiple Linked Server's.I was trying to use something like thisEXEC('exec tempdb.dbo.sp_executesql @statement =N''create procedure testx as begin...

View Article

application requires using Full Text function for SQL and we have a dedicated...

Our application requires using Full Text function for SQL and we have a dedicated drive for this functionality.How do we backup this information?  Will there be a file located on this drive?  Wondering...

View Article

Export Result from SQL query to Excel

Hi ,I need to export SQL query result to excel. I am using the following sqlcmd command to export result::!!sqlcmd -S Server_Name\SQL2K12 -d DFSI_ESCROW -E -s, -W -Q "select * from table" | findstr /V...

View Article


MS SQL Server Installer won't run

I've downloaded the Express Edition but the Installer won't run.  I just git a tiny box with an x, max window button, and minimize button. None of which are functional.

View Article

Search Accounts with stored procedure?

Hello everyone, I recently started developing/improving the way my search algorithm works. There is few different queries in the system that will use this approach. I'm new in stored procedures world...

View Article

sql server native client 2016

i am trying to install sql server native clienti am expecting to see 130 folder but i cant there are ither 140, 110 folders under program files/microsoft sql server/k

View Article


SQL version versus OS version.

Does Enterprise SQL 2012, 2014, 2016 require data center version of windows?  i am assuming that the windows version is either windows 2012 R2 or windows 2016.what is the major advantages of SQL 2012...

View Article


Inserting Data into a New Column on an already existing table

To allSo I have these two tables, emp and emp_bonus.Emp has the columns (amongst others) empID and eNameemp_bonus just has (amongst others) empID.I would like to out that eName column into the...

View Article

Image may be NSFW.
Clik here to view.

dynamic query

The below code gives me output with C_01 to C_10 as shown below, I want to dynamically add c_11,c_12...c_xx (xx any number max value as 99)If we do "select * from #cond"  for mid col value 1 we have 10...

View Article

SQL Server Available Software to Install

Just wanted to know if when downloading the sqlserver software and installing on sever you want to license per core vs one per host holding the vm's is there a difference in software to download per...

View Article

update a single column'mobile number' in batch of 5000 (total record 30099)

Hi guysI need to update one column for approx. 31k record. I would like to do this in a batch of 5000. What is the best way of updating the record.I started like this, but not sure whether this will be...

View Article


Temp database and Temp log initial sizing and autosize increment best practices?

Temp database and Temp log initial sizing and auto size increment growth best practices?  Is the initial size of the temp log file supposed to be the same as the initial size of the temp database...

View Article

INSERT and UPDATE data on Remote Server table

Hi,I am trying to Insert and Update data on a remote server table. I don't want to create a linked server connection. below is what i want to have. Can someone please suggest me how can i achieve it. I...

View Article


Neg and Positive Values

Hi, Is there a way of making the report show that if variable 'Inv Type' = 'CR' then treat the number as negative and if it = 'Inv', treat as positive at all? Thanks

View Article

Choosing the right SQL Collation

Hi, I am trying to install an ERP that requires the SQL collation to be BINARY as well as CASE SENSITIVE.   I don't know which one to choose.  Could you help me please? Thanks in advance

View Article


update table automatically from excel

Is there way I can update two fields from Excel in SQL table  that we are getting from our Client(Excel file) to our production server every day, we need to update once a a day this data to SQL. Is...

View Article

Blank Result screen, the query was working fine yesterday

Hi, I executed this query yday.SELECT COLUMN_NAME, TABLE_NAMEFROM INFORMATION_SCHEMA.COLUMNSWHERE COLUMN_NAMELIKE'%CommPlan%'i got the expected result. When i am trying to run the query again today. it...

View Article

Restoring msdb to copy jobs

Good Morning Experts,I have a SQL server A and it has 180 Agent jobs. I want to copy all these jobs to another SQL Server B. Can i restore msdb database from A to B? After that what needs to be done....

View Article
Browsing all 4729 articles
Browse latest View live


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