Varchar(Max) field cutting off data after 8000 characters SQL Server 2008
Hi,We have a scenario on which we are preparing the SQL query dynamically by string concatenat and then at the end EXECUTING the query using EXECUTE statement but observed that the VARCHAR(MAX) data...
View Articlewhat is the database owner and database user?
uploading the databaseas you can see in the picture above, i have uploaded my .bak file of my database which i made it in sql 2005 and im trying to connect it to my website. the owner of the database...
View ArticleCollapse Rows into JSON Value
I have the following code to Collapse rows into JSON and XML PATH WITH STUFF Operation is very slow.Looked into alternatives and couldn't find anything suits my needs.Is there better way to collapse...
View ArticleSQL authentication error in Forefront Client Security
Hello,I have a SQL authentication error in Forefront Client SecurityDate3/17/2014 9:58:02 AM LogSQL Server (Current - 3/17/2014 9:58:00 AM) SourceLogon Message Login failed for user 'AD\user'. [CLIENT:...
View ArticleError while restoring back up
Hi Team ,Facing below error, while restoring in SQL.please helpThe media family on device 'C:\Test\fwsmall-12-3_supraekeybackup_virtusa.bak' was created using Microsoft Tape Format version 1.240. SQL...
View Articlesetting up nested relations for tables/datasets
hi! I've been using sql server for a while but until recently have kept things pretty simple. now I'm trying to expand my horizons by trying to tackle some more complex applications, and one I'm really...
View ArticleVolume Distribution
Hi GuysI Have not been able to solve this problem from quiete a while now.I am using sql server 2005. I have got a table which contains these columns - start date, end date and volumesif the month in...
View ArticleSQL 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 Articlechecklist
HiThat daily tasks (checklist) must make a DBA with SQL/MYSQL servers??Thanks
View ArticleSQL Server 2008 R2 Database
Please Help.I don't find the DIMDate (dbo) in the Adventure WorksDW _ Data Thanks in advanceWilfredo de Jesus-Riverasbtmas@hotmail.com
View ArticleAdd service account as a login for my database
Hello,I am expering difficulties to add my "local system" account as a valid login for my SQL (localDB)\v11.0 development server.This is my development environment where I am creating a windows service...
View ArticleWhen do we need to create a new instance for new database ?
Hi,If we have to create a database for a new application, can we use an existing MS SQL 2008R2 Server or we have to create a new instance for it ?In other words, in what circumstances do we need to...
View ArticleFull text search and CONTAINSTABLE - can I weight by column?
I'm trying to use CONTAINSTABLE to do a product search on a number of columns. I want matches on some columns to be weighted higher than for other columns.It seems like there should be a way to do...
View ArticleSQL 2005 from a Web Service perspective
Hi, im new to asp but have experiance with php/mysql.Im bulding an application which connets to my Web Service.Does anyone know of any great tutorial explaining fully how to connect a Web Service to a...
View ArticleWhere to place a new database for new application ?
Hi,There are a number of SQL server (2008R2 and 2008) running in our site. There is a new application that uses SQL Server.My manager doesn't want to purchase SQL Server License and ask where to place...
View ArticleHow to run oracle stored procedures, especially with REF CURSOR
Hello, Does SQL server 2005 provide capability to run Oracle stored procedures. I already have a linked server established for Oracle.I have several oracle stored procedures that :a) Accept...
View ArticleSQL server management studio - actual instance name ?
Hello,I work at the environment, where one server has 2 instances. One is productive ,second is used for development. Development instance is sample copy of productive one. Same structure, same tables,...
View ArticleNeed help with dynamic sql
I had a bug after using my mouse to rename a db so I found an article on how to rename the 'logical' db...
View ArticlePrimary keys
Hi, Are Primary keys Null or not Null? Are they never Null, sometimes Null, or always Null?Regards,Bob
View Articleaggregate function and join
I have three Tables(Emptimesheet,comexpensetable,perexpensestable).I want to show otput something like...
View Article