Quantcast
Channel: ฟอรัม Getting started with SQL Server
Browsing all 8428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to update table with correct information

Hello all, How can I update this table A with the cm_other_id of table B?Table A: Table B:Thanks

View Article


Table Join Strategy

Hi, Could you please let me know the Join Strategy to achieve best query performance for below scenarios: 1) Joining Large Tables Table1 count is 200,000 Table2 count is 100,000 Table3 count is 90,000...

View Article


Stored Procedure Executed Via SQL Job

I have a scheduled job which runs overnight on a SQL2005 server to execute a number of stored procedures to create transactions in one database from transactions in another server/database. All...

View Article

Image may be NSFW.
Clik here to view.

Delete values for a range

Hi ,     I want to delete records only for a given range. Below is the script it deletes the records based on the given MP range.And in this Switch table screen shot i have a switchID and...

View Article

How can I add values ​​to these two tables relate to each other

create table tblA( id int identity(1,1) primary key, name varchar(50) not null, CountryId int not null)create table tblB( id int identity(1,1) primary key, countryname varchar(25) not null)alter table...

View Article


SQL Query Help

I need help figuring out this query. We are taking the latitude and longitude from a table and finding the distance from a set location to convert to miles from location. Then we want to break it down...

View Article

Auto generating UPDATE queries for identical tables

Hi I need to generate UPDATE queries to update identical tables between two databases. So I need statements like below generated given a list of tables;UPDATE Table1 SET Fld1 = a.Fld1, Fld2 = a.Fld2,...

View Article

How to show "Error List" in SSMS ?

Hi,For unknown reason, when we open the SSMS, we get "Error List" in the bottom. There are columns like: Description / File / Line / Column in the "Error List".We just wonder how to turn it on / off...

View Article


SQL Injection -- DBA role..

Hi all, I'm working as a SQL Server DBA,Now a days we are facing issue with attacks(SQL Injection),most of attacks are taken care by Firewalls but still some attacks hitting Database. As a DBA  How to...

View Article


Need stored procedure

Can anyone help me out in writing  a stored procedure that is used to run other stored proceduresso it should take a character string as a variableand execute a stored procedure that matches the...

View Article

EFFICIENT Front End for SQL Server

I know there's been many questions about SQL front ends, but I have some specific requirements I haven't seen addressed.I'm an intern for a company with a large database and I've been tasked with...

View Article

SQL Server (2012/2014)

Hi,Can someone please give me a "101" on how is (SQL) database/ETL is related to CPU, Memory, HDD, Network, and etc? (or point me to an article that explains things well.i.e. I need to know when is...

View Article

truncate .ndf

I am using Microsoft DPM to backup SQL databases. I have a question, When we backup a full recovery model database then after successfull backup job truncate logs .ldf file. But .ndf files are...

View Article


connection

i cant connect  servers.and client..server2003..client xp any problem....pls give me solution to connect server  

View Article

SQL Server Setup Failure 0x84B10001 (SQL 2012 SP2 and SQL 2014 Standard)

I'm having a problem with SQL Server Setup. I had SQL Server 2012 R2 SP1 installed, and the SP2 installer would fail.I decided to just get SQL Server 2014. The setup (and system configuration checker)...

View Article


ADD DateTimeOffset with DateTimeOffset

Hi,I need to add newDateTimeOffset with oldDateTimeOffset and store it in oldDateTimeOffset itself.Like,oldDTO = newDTO + oldDTO.I do not find any methods to do this.Any ideas...????Regards,Santhosh.

View Article

regarding sqlserver

Hi,   how to find sum of first 10 numbersin sql server

View Article


Moving Tempdb location

Hi All,I am using SQLSERVER2012.Iam trying to move tempdb database from one drive to another drive. it was not creating new data and log files in new location. I executed below script and then...

View Article

how to register email address for microsoft updates to receive only for all...

how to register email address for microsoft updates to receive only for all sql servers

View Article

SQL Sever on different Environments

We currently have SQL Sever 2012 Enterprise / Visual Studio 2012 on a DEV machine and we are developing a Business Intelligence solution using the BI Semantic Model and SSDT. Once complete, our aim is...

View Article
Browsing all 8428 articles
Browse latest View live


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