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

Standalone database application??

Hey guys,     I'm really new to this so this might look dumb, but I need to know what all has to be done to develop a standalone database application.....The frontend is going to be on VC++...which are...

View Article


Attach mdf to remote server

HiI'm trying to attach a local mdf file to a remote Sql Server 2005 using Sql Server Management Studio. When I click add I can only browse what seems to be drive c of the server. How can I attach a mdf...

View Article


multiple joins on the same table

I'm new to SQL 2005 & C# - I'm a MySQL/PHP crossover. I'm using s Stored Procedure and I'm trying to do multiple joins onto one table.  I have 6 fields in one table that are foreign keys of another...

View Article

There is insufficient memory available in the buffer pool

Hi allI noticed the following error on one of my SQL Servers:"SQLServer Error: 802, There is insufficient memory available in the buffer pool. [SQLSTATE 42000] (ConnExecuteCachableOp)"What steps can I...

View Article

Collapsing Regions in SQL Management Studio

Hi Everyone,Could any one let me know if SQL Server 2008 has any support for adding "regions" to a T-SQL script so that one can expand and collapse regions just as you can do in C# with #region and...

View Article


how to automate sql server querry and output to send via email alerts

Hi,I have MS SQL 2005 server. Daily i m running sql querry at 10:30 pm. i want to automate this process & output need to send via email. Please suggest what are the options availble.Thanks in...

View Article

add blank values to datefield

hiPlease help. I am trying to put blank spaces for values which are NULL in a datetime fieldeg2013-12-312013-11-30NULL2013-09-28Expected result is  take out the null and replace blank space. I need...

View Article

SQL 2012 Per Core Licensing Per-VM In A Multi-Host VMWare Environment

I'm hoping the title of this post gives a clue to what I'm after but let me try and give a thoroughly clear scenario.Scenario - Say for instance I have 5 x VMWare Esx Hosts each with 2 physical...

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


Create a Union query that automatically adds/contains new tables with a...

Dear All, For a research project i am upscaling from an Access database to SQL server/ SQL azure since the database got far too large. Now i am quite well known with Access, but to be quite honest, I...

View Article

Sum fields together

How do I get the fields to accumulate. I am running through one table (Job) and then through another table (SO_Detail). My results show numbers in the fields that start with [Job. and zeroes in the...

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

can i have multiple field terminators in BULK INSERT or BCP commands i,e,...

can i have multiple field terminators  in BULK INSERT or BCP commands i,e, define more than 1 for a filepls provide example

View Article


Engine database not free resources: ram and cpu

Hiif execute a big process that works 10 minutes,after the process have finished sqlserver not free the resources, and i have to reset sqlserver for free the cpu and ram.And why with SSIS the server...

View Article

query timeout expired

Using VB, I am running a bulk insert query from csv file into a newly created table. It works fine on small test files; but when I try it on the production data, I get a "query timeout expired" message...

View Article


bcp csv export needs quotes around fields

I'm using BCP to export a csv file, what I am wondering is this. Is there a way to set it so that all the fields in the csv file are enclosed in quote marks "".

View Article

Date Conversion

I have a column called Month in 11/01/2013(mm/dd/yyyy) and now I need to convert in 201311 format(YYYYMM).How do I do that?SPPandey

View Article


SQL Date Conversion

I have a date in text form in Excel like 41579,41609 but now I need to convert that to date form(YYYYMM) like 201311 ,201312 etc.Can somebody help me to figure this out?I used :Convert...

View Article

Combining 2 SELECT statements for converting IP numbers to IP address

What I am trying to do here is get a list of clients with their IP address but SQL IP is in decimal encoded format. Running the below query is returning errors. How can I modify the query to run as one...

View Article

How to do partition on a non clustered index column?

I have table ORDERS .Where there are Million rows in it .I need to add Pationed Index on Order to store data in one of two files based on the new IsLocked field.But when i checked table there is a Non...

View Article
Browsing all 8428 articles
Browse latest View live


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