Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15264 articles
Browse latest View live

Bulk Insert row terminator

HiI am trying to insert a .CSV file with sectional division of data in it. i am unable to insert the row, which i want to pick and insert as the row numbers are not taken as in the .CSV filePlease...

View Article


Bulk Insert format file

Hi,I am trying to insert a sectional CSV file into database using a format file. my CSV file looks like:Section::Test Column1,Column2 1,2 Section::Test2 Sec2Col1,Sec2Col2,sec3col3,sec4col4,sec5col5...

View Article


Test Database Configuration

Firstly, I understand this is probably not the most appropriate forum for this question.  I have tried a couple other places with no luck, and you guys are quick, so maybe I'll get an answer here.  If...

View Article

Bulk Insert microsoft bug

Hi,I have an issue with bulk insert where it picks wrong rows for insertion from a CSV file with sections in it.my file looks likeSection::Test Column1,Column2 1,2 Section::Test2...

View Article

custom query between Merge syntax conditions???

Can we write our query inside the merge syntax...Ex: Merge table as TUsing Table as Son (T.ID=S.ID)WHEN NOT MATCHED BY TARGETTHEN{insert query}-- Here, after inserting records i want to delete them...

View Article


Unable to open trace file!

Hello gurus,I was able to trace my SQL Server using the server side trace method and the trace is already complete. The bad news is that I am not able to open the trace file using the profiler. The...

View Article

Image may be NSFW.
Clik here to view.

Cardinality estimates on a parallel join are wrong

Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...

View Article

Database Backup FIle

Hi All,Does the database backup file contains users and passwords. I have a database for a application in development server. I have the same backup file restored in production server. But when am...

View Article


SQL Server memory high usage.

Hi I Have a SQL 2008 R2 SP1 running on 64bits. The memory usage grows until no memory is available. We have Max memory set to 6 GB. The server has 24 GB of RAM. I understand that the limit is only for...

View Article


SQL 2008 cannot creat new database

I am working from the TK432 exam self paced training kit.  I am using the Enterprise Evaluation edition. One of the exercises is to create a new database.  I receive errors listed below:Msg 5133, Level...

View Article

update stats getting blocked by FETCH API_CURSOR

Hi all, I am facing a  blocking scenario in my production server where a An third party Application is connecting to SQl server. We update statistics in the database as part of daily maintenance and...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Connectivity

Dear Friends,I have two separate nodes of SQL Server2012 installed on two Virtual servers. Their names are SQLDB1 and SQLDB2.Now when I open the SQLDB1 Management studio, I can connect to both servers...

View Article

Index fragmentation

Hi All,I observed there are several scripts which can be ran against a database for finding the index fragmentation.But, none of them returns me the results in quick time. I am after a script which can...

View Article


Help - SQL Server 2008 R2 suddenly stopped working! Can't start service

Hello,I've had SQL Server 2008 R2 running on my Windows 7 Professional 64-bit machine for some time now without problem. I restarted the machine just now, only to find that the SQL Server service...

View Article

SQL Server DataFIle

Hi All,I have very old SQL Server 2000 database where the size on disk is very low and data file is increasing day by day. What should i do to reduce the size of datafile. Should i shrink the datafile....

View Article


sql monitoring

hi to all,we have a instance of sql server in us server and it used about 70Gb of memory space,can i see 1.total read command2.total write command3.duration time of each command4.list od all command...

View Article

How estimating in a rapid manner the size of a database - SQL Server 2012

Hi,I need to know if it exists an automatic tool (f.e. Excel worksheet) to determine quickly the estimated size for a db, having the tables to implement and the colums (with type and lenght) to...

View Article


what is latch contention in SQL server ?

Hello all,I want to know little more about the ‘Tempdb latch contention’ in SQL server. I have researched on this few and learn somewhat. So, what exactly is ‘latch contention’ and where can I learn...

View Article

Is the XactSequence number in the profiler globally unique?

Hi,I need to know if the XactSequence number in the profiler can ever be the same for 2 separate transations. It is also used in the ALL_HEADERS section of TDS packets as a transaction identifier.I...

View Article

Image may be NSFW.
Clik here to view.

temp db issue

Hi team,when i try to login into the server i am facing bellow error and at same time few database going to suspect mode,any one please answer the root cause of the issue.

View Article
Browsing all 15264 articles
Browse latest View live


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