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

extract and convert the date part

ApplicaitonIDApplicationdate2612FSK_LHER_Sep 9 2013  2:45:51:877PM_26122902FSK_AKBH_Dec 19 2013 12:15:19:450PM_29022902FSK_GUOBE_Dec 19 2013 12:15:21:870PM_29022902FSK_GUIBE_Dec 19 2013...

View Article


Using function in select statement

Hi,CREATE FUNCTION [dbo].[udf_testFunction]  ( @value int ) RETURNS int AS BEGIN-- Declare the return variable here declare @returnValue int set @returnValue = @value*2; return @returnValue; END GO...

View Article


Is it possible? A table that contains 1000 columns?

Hi,May I create a table that contains 1000 columns each having datatype of varchar(5000) in sql server?I was asked the question in an interview. Have anybody any idea?Anujit Karmakar Sr. Software Engineer

View Article

How to determine if SQL Server 2008 is setup to be Unicode

HiI am trying to determine if my sql db is setup as Unicode or Non-Unicode.I ran the following command: SP_HELPSORTFollowing is the output: Latin1-General, case-insensitive, accent-sensitive,...

View Article

Difference between varchar and varchar(max)?

Hi,What is the difference between varchar and varchar(max)?Anujit Karmakar Sr. Software Engineer

View Article


Default startup UserID

My SSExpress2012 database uses SQL Server authentication. I am the SysAdmin and the ServerAdmin. Whenever I open a connection in SSMS, it opens up with the same UserID (not mine) and I have to select...

View Article

SSAS - Invalid Directories

Hi,I earlier had two instances on SQL Express Edition on the official laptop. Thereafter, I installed the enterprise edition of SQL Server 2014 some days ago but installed just the Engine and created...

View Article

object state manager

I've imported a few tables from an MS ACCESS .mdb database to a new MS SQL  server database. I made a data entry form with a C# program code, but when I try to save the canges made in my form, the...

View Article


IP configurations while doing Sql clustering on windows server 2008 R2

Hi there,I am doing a demo practicle for two node windows clustering later which I will be using for Sql clustering and HAG for sql 2012.As I am novice in this and have little knowledge of Networking I...

View Article


Opening BIDS causes disk queue length to shoot up

Hi,I have a SSIS package and I noticed that when I open it in Visual Studio the Avg Disk Queue Read Length briefly shoots up on both my data and tempdb drives. Is there a potential issue here or how...

View Article

Save queries of views automatically

Hi all,i have a problem: i want to save a lot of queries of views. The views are already existing, and i want to save the queries of theese views. I don't know how to do it.Now i do it this way:right...

View Article

Creates Wishes Web Application Project On .Net Using Sql Server 2014?

Created Greetings Wishes Web App Project Using Language : .NetDatabase: Sql Server 20141)What are modules on that2)DataBase tables 

View Article

Help diagnosing a sporadic long running proc

We have a nightly ETLV job that our 30 clients run every night. Depending on the size of the client, it can run from 1 to 7 hours. We have one client, clientX, where the etlv job takes about 7 hours....

View Article


Database Tables for Live Streaming Web Application Project?

Modules for Live Streaming Web Application-->i want to modules on Live streaming App-->Data Base Tables

View Article

Login error

Hi ,we are getting login error as 3336/2492 Thu Dec 11 13:38:29 2014 abcdODBC.C689[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'abcdef'. - SQLSTATE: 28000.When I googled for it,...

View Article


Where can i see the .mdf or .ldf files for mysql database?

Hi i have created a database in mysql workbench. Now i want the .mdf  or .ldf files for my project deployment.  where can i see this files in my folders. I have searched in this folders.C:\Program...

View Article

no Show_plan

Hi,from what I can see, this gets executed on my SQL Server but I can't see any show_plan for it. Should there be one?I ask because I suspect it's leading to a performance issue and I'd like to...

View Article


Process identification

Hello, i have a simple perhaps stupid question.I am using active monitor in sql server 2005 from which i can see if one process is taking a long time to finalize and answer to the client that made it,...

View Article

Compare field value in one table to all field values in another table

Hi everyone,I have two views, both containing account numbers (field is called ACCT_NBR in both views)VIEW_1 contains several thousand records, and VIEW_2 contains only 15.What I would like to do is...

View Article

How to view xml query plans graphically

I am using sp_whoisactive. It creates a query_plan column that contains xml. when i click on it, it launches a new query window where i see the xml. not sure when it is not launching the...

View Article
Browsing all 8428 articles
Browse latest View live


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