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

NEEDED: More Answerers

We need more answerers in this forum! Let me know if you've been part of this community pretty consistently for at least 6 months, have answered at least 100 questions (with at least 1,000 Recognition...

View Article


Transaction log is large on Simple Recovery Model

I used SSMA to migrate 5 million records from Access to SS express 2012.  The .mdf is 7.5 gigs, the log is 5.5 gigs. I thought maybe typing 'Checkpoint' in the query window would help, says 'Query...

View Article


Combining Data from multiple tables into one in Microsoft SQL Server 2008

I have two tables that i have created. I am trying to select all columns from both tables and put them into one. For instance Employee Table has (First_name, Last_name, Address, City)  JobTitle Table...

View Article

mySQL to JSON

Hey guys, on my server I´ve got a PHP file that retrieves my SQL database and encodes it to JSON:<?php $host = "abc"; //Your database host server $db = "abc"; //Your database name $user = "abc";...

View Article

Is there any reason not to use [sa] as db_owner?

Hi,Is there any advantage for not using [SA] as the owner of database ?If we create a SQL Server Login [DatabaseA_Owner] as owner of the Database_A, is it necessary to create a user [DatabaseA_Owner]...

View Article


What is different?

Hi,select ename from employee where not exists (select depnum from dep where depname="sale" and dep.depnum = employee.depnum)betweenselect ename from employee where not exists (select depnum from dep...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Guru needed! Apply within...

April fools out of the way, now let's find an April genius!The name "April" is derived from the Latin verb "aperire", meaning "to open" in reference to being the season when trees & flowers start...

View Article

Can't access SQL Server 2014 LocalDB (local instance ) in Management Studio...

Yesterday I downloaded and installed 64 bit SQL Server 2014 LocalDB on a Windows 8.1 desktop. I also downloaded and installed the tools.  Prior to the install I verified all the hardware and software...

View Article


Issue with joins

Hello everyone,I am joining 4 tables and in where clause, i wrote a sub query.SELECT t1.col1,t2.col2,t1.col3 FROM table1 t1INNER JOIN table2 t2 ON t1.col4=t2.col4INNER JOIN table3 t3 ON...

View Article


DBCC shrinkdatabase doesn't work

Hi everyone,I have a SQL 2k5 instance and I want to shrink a database using "dbcc shrinkdatabase (databasename, truncateonly)"(I could see there were a lot of unused space there). However, the scripts...

View Article

Backup size

Hello,Our sales database is on full recovery model, last days i look that the database backup size growing fast (800 MB) , today i surprised that the backup size return to intial size ( 300 MB).what...

View Article

Can not download trial of SQL 2014

I can not download SQL 2014 evaluation program. Just hangs. Can not get help.

View Article

I am developing a Web App which will have millions of users. I am expecting...

I am developing an app that will server millions of users. Most of the information coming out of the database won't be of any security concern, but there will be some accounts with financial...

View Article


SQL Cluster failures

Hello,On a SQL Cluster I have two nodes and one seems to be weak... Anytime I am on B Node with all instances it works for 48 hours at least but on Node A after 1 hour it fails...1. cannot access the...

View Article

interview questions

I have a set questions which were asked in interview .Could you please provide the suitable answers for the same :-->what is meant by transaction and if 3<sup>rd</sup> sql query failed...

View Article


Commercial distributed application with SQL Server 2008 back-end

Hi All, I am suffering some confusion and wondered if anyone could clear up a few questions for me.I am currently developing an application to be sold commercially, to be deployed locally on a...

View Article

How to connect to SQL Server DB with Windows Authentication

Can we connect to SQL Server DB with Windows Authentication using VBScript from the system which is not authorised to access the DB (that is, I want to run the code from the machine which does not have...

View Article


Error 17204 and 17207

I deleted test database but i got below error.FCB::Open failed: Could not open file D:\Data\test.mdf for file number 0. OS error: 2(The system cannot find the file specified.).

View Article

Keeping an Imported Table up to date

Hi Everyone,I'm reasonably new to SQL, and I'm hoping someone can help me.I have an Oracle data view that I've imported in to a database on my SQL Server 2012 server. I'd like to setup a way to ensure...

View Article

deadlock - sql

i have run the follwing script in sql server 2008. but causing the error:"Transaction (Process ID 165) was deadlocked on lock resources with another process and has been chosen as the deadlock...

View Article
Browsing all 8428 articles
Browse latest View live


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