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

Query for difference between dates

I know I can use the DATEDIFFHow can I write it if StartDate and EndDate are in these formats?StartDate: 2006-09-20 00:00:00.000EndDate:   2013-09-20 18:20:53.000I want to find the number of days...

View Article


Database tables

I am trying do the below. I can create simple table like in steps (a) and (b) but not sure how to apply points (c) and (d). I am new to this sql thingy so I will appreciate any help out there: Create...

View Article


SQL Server FileStream Shared location

I unexpected delete SQL File Stream Shared location, is there a way to restore the Shared location. When i try to open SQL File table from SSMS Explore File Table Directory it works on Server, but it...

View Article

Full Back up - Size

Hi,I have a database of around 250 GB.So what would be the random size of the "full Back-up" of the 250 GB Database??Regards, Kunjay Shah

View Article

I need help with an average calculation

I have a query that gives back the StartDate, Endate, the count and the number of days between the start and end days.I'm looking to get the average. Keep in mind there are multiples of these dates....

View Article


How to insert multiple records with a single query?

Hi,I've to save a huge number of installments with their other information such as due on blah blah. Now, I want to add the all of these information at once with a single insert query.How can I do that?

View Article

table structure

hi,in my application using asp.net  table with four columns id,desc,quantity,price   with 5 rows .id         descdription   quantity               pricetxtbx1     txtbxdesc1       txtbxquant1...

View Article

How to get row count(*) for each table that matches a pattern

I have the following query that returns all tables that match a pattern (tablename_ and then 4 digits). I also want to return the row counts for these tables.Currently a single column is returned:...

View Article


SQL Server Using Float Formats

I'm importing a field called that has a maximum value of 1 and a minimum of > 0 and < 1 into a sql server using SAS.The original datasource was an excel spreadsheet.  SAS reads the value in as a...

View Article


Books Online hyperlinks not active

Hi.  New user.  Intalled 2008 R2 Express with AS successfully, but the BOOKS ONLINE feature I downloaded after the express install doesn't seem to be working.  I can view the entire feature, but none...

View Article

TFSEXECROLE

Hi Team,What is meaning of "TFSEXECROLE" as per my understanding TFSEXECROLE Means database reader and writer please correct me any thing wrong.Thanks in advance subu

View Article

detail installation steps of SQL server 2012 R2

Provide me detail of SQL server 2012 R2 installation

View Article

Sql query to fetch data based on date conditons

Hi All,We have to schedule a script that runs at 1:00 AM from Monday to Friday.The script will run a  sql query  ,that will fetch the data from sql database 2008 based on the below conditions.Case 1:...

View Article


SQLIgnite tool configuration to capture Blocking and Deadlock in the instance

Dear All,We have SQLIgite tool and I want capture the blocking and deadlocks happening in the server,Please body suggest me how to configure the alert and how to find out the what queries causing the...

View Article

SQL server database structure

 Is it possible to create an 'XML file' from a SQ Server 2008R2 database structure?

View Article


back up & restore

Hi,I am trying to restore the same .mdf and .ldf files into the newly created database.But its giving me an error that its already in use and I cannot complete my task.Is it possible to do the same??...

View Article

Image may be NSFW.
Clik here to view.

Confusion: Why was I prompted for Password and How can I use it to log in?

Good morning:I successfully installed SQL Server 2014 and I am able to access the System using Windows Authentication.However, during the installation process I arrived at this screen below: (See...

View Article


Memory

Hi All,We have 16GB RAM ,64 bit server, ,here when i checked for properties for the server in general tab memory is 16380 MB, bit confused.Here how do I found how much GB is used by SQL SERVER and OS,...

View Article

Connecting to external database

I have an instance of winserver 2012 on Amazon web services. The instance included a bundle of additional pre configured things. One was the SQL 2008 server express. I am working locally on my machine...

View Article

Totally frustrated with SQL Server Express Install

Before updating my PC to Windows 8.1 I had a working VS 2008 environment and SQL Express 2005. Now that I have upgraded the OS, I am unable to get any version of SQL Server Express to work with my...

View Article
Browsing all 7129 articles
Browse latest View live


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