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

HUGE CTT*.TEMP FILES IN 'C:\Users\Administrateur\AppData\Local\Temp\2'

i have a big problem in my server ,CTT*.TEMP grow fastly in C:\Users\Administrateur\AppData\Local\Temp\2 directory , i tried the clean disk tool in windows server 2008 but in vain, i searched the cause...

View Article


SUM with CASE in stored procedure

In this part of my stored procedure i want to include SUM for all the CASEs. The problem is that i cannot understand where i should write it, should the CASE start with SUM, or should each WHEN have a...

View Article


Image may be NSFW.
Clik here to view.

Split a String in sql server 2008

Hi ,I want to split a string into 4 columns. Below is the screenshot of my table.I want a output like : BegMP   BegTR   EndMP   EndTR10        Main1       20       Main120        Principal    25...

View Article

Microsoft® SQL Server Standard Edition 2014

Dear sir i need to download Microsoft® SQL Server Standard Edition 2014 Sngl OPEN 1 License No Level so please help me how can i download this software please provide same download link 

View Article

What query would you use to delete records that DO NOT contain letters?

I want to keep records that look like this:4866RUP 4145FRA 9943SSO 7071RTG 6896GDK 2148ghs 0283ryc 3668gdl 1408GOS 2291GTX 3789GPQDelete records like this: 4610 7087 9149 6360 1417 6080 7811 7276 9708...

View Article


Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS"...

I've imported databases from Sql 2005 to Sql 2012. I'm getting a Collation Conflict.  On the old server when i run "select databasepropertyex('tempdb','collation')" as a query I find that it's...

View Article

Group by Column Name "JURI"

Hello everyone,Hope you can help me in finding the solution to my problem.How can I group the case statement output when they are: "IE","IA" or "\N". In other words I would like to group by column name...

View Article

What is the exact difference between Lock and Latch

Hi All,  What is the exact difference between LOCK and LATCH in simple terms,i am bit confused with both the terms.ThanksSelva

View Article


Error converting datatype varchar to numeric

Hi ,I have a scenario Like a variable is of decimal type , and for that variable i am setting a NULL value. I am getting an error, i tried many ways like cast converstion, ISNULL but those things didnt...

View Article


Which is better UDF or STUFF function ?

Hi,We have a requirement like to retrieve a concatenated string of values as a column. For this whether i should use UDF with SQL query or STUFF.Please suggest.Here is my Example...

View Article

Moving Temp db and log files

They've given us separate logical drives (VLD) for Tempdb and log files (currently we have separate LD's for OS/Data  and backup to a san. We have about 40 db's, largest being 1.5 gb with an average...

View Article

How and Where linked server queries are processing ?

Hi experts, Its my curiosity, i want to know where the linked server queries are running.I create linked server in local server. i am accessing one table,How the query is processing and how the it...

View Article

CAST,CONVERT and SUBSTRING

Hi,I have a coumn called DateDAte: 2014-05-12 00:00:00.000 (yyyy-mm-dd time)Now i need to change this to two Column called Season and DateMMwhere DateMM: 201405 (yyyymm) and season : FA14  ( since its...

View Article


Select and Insert statements in Sql server 2005 stored procedure

Hello, I'm  using SQL Server 2005 - stored procedures. Stored procedure - select statement : ----------------------------------------- The select statement inside the stored procedure doesn't return...

View Article

Linked server to Oracle - permissions

Hello,I added a linked Oracle server to my MSSQL (2008 R2).Is there a setting to allow/block which SQL Server users can query the linked server?ThxM

View Article


DBA Checklist for Daily activities

Hi Experts, Tomorrow i am having interview in MNC company in india,now i am working in Indian based product company.I am expecting tomo first question is Roles and Responsibilities of DBA in daily and...

View Article

insert statement

Hi,In my application im using asp.net form view <asp:SqlDataSource ID="dsCategories" runat="server" ConnectionString="<%$ ConnectionStrings:AAPDB %>" DeleteCommand="DELETE FROM [POCategories]...

View Article


service account question

Hello,there are multiple identical questions but in different scenarios.Let me ask too :)Setting up SQL 2012 on Server 2012. Planning to use it in Production so following best practices for partitions...

View Article

ms sql 2012 ntwdblib connectivity file for powerbuilder 9.0 application

Dear all,After upgrading my ms sql server from 2000  to 2012, my applications (developed in powerbuilder 9.0) performance has degraded , speed very slow. i am not using odbc, instead i am using...

View Article

Can an extra WHERE clause accelerate an INNER JOIN?

I already get the correct result (let's say 10 rows) with the bare-minimum where clause, on my INNER JOIN.The two tables are called Files and Accounts.  However, I already know in advance that those 10...

View Article
Browsing all 8428 articles
Browse latest View live


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