Hello everyone,
I have a table Student with 2 fields:
Name: nvarchar(256)
Age: int
User will use a WinForm application to input a Name and a Age for searching.
If inputted Name is empty, sql will not query Name field.
If inputted Age is 0, sql will not query Age field.
If Name is Null and inputted Name is empty -> record is matched....
Hi,
i want to configured the configuration file to use more than one MSDB database, which are stored in separated database instances in Stored packages of SSIS database. if any body knows let me know ?
write in steps how to do..?
Regards.
kumar
...
Hello everyone,
Because I am new with SQL Server and T-SQL, so I will need your help.
I have 2 table: Realtime and EOD. To understand my question, I give example data for 2 tables:
---Realtime table---
Symbol Date Value
ABC 1/3/2009 03:05:01 327 // this day is not existed in EOD -> inserting
BBC 1/3/2009 03...
Hi,
I'm getting this error when trying to restore an SSAS database from a backup:
The ddl2:MemberKeysUnique element at line 63, column 4862 (namespace http://schemas.microsoft.com/analysisservices/2003/engine/2) cannot appear under Load/ObjectDefinition/Dimension/Hierarchies/Hierarchy.
Google hasn't turned up any helpful solutions...
Hi,
Just wondering does the 4GB limit apply to this edition or is it 'fully functional'?
Thanks.
Christian
...
I am creating a hierarchy representaion of a column. But an error occurs
Details are
Msg 240, Level 16, State 1, Line 1
Types don't match between the anchor
and the recursive part in column
"DISPLAY" of recursive query "CTE".
I know there is some typecasting error. But I dont know how to remove error. Please just dont only s...
Hi,
How to import/export table definitions from my dev database to production database(recreate the whole database). I have Sql server 2005, Sql Management studio with power shell.
Thanks in advance.
...
Hey all,
I have a simple document storage database that allows people to upload various types of documents and then do a full-text search on them.
It works just fine for all documents except office 2007 documents. My retrevial code uses content type "application/octet-stream", the server has the MIMETypes registered as does my computer...
What is deadlock in sql server and when it arises? What are the issues with deadlock and how to resolve it?
...
I have a scheduled task that runs once a day that builds an XML file that I pass off to another group. Recently the amount of data has greatly increased and is now causing the task to time out (I think). I have tried to optimize my script as much as possible but with no luck. It times out long before an hour and I don't get any kind of C...
Hi SSIS Geniuses,
I Have an SSIS package in SQL Server 2005 that takes data from a flat file and puts it in a table in SQL Server 2005. Now I want it to send it to an additional location along with the 2005 location. This new table is in SQL Server 2008. Can it be done without porting my SSIS package to SQL Server 2008?
Thank you for yo...
Hi there guys
I'm new to LINQ and I'm trying to check whether a TEXT column is null or empty (as String.IsNullOrEmpty).
from c in ...
...
select new
{
c.Id,
HasBio = !String.IsNullOrEmpty(c.bio)
}
Trying to use the above query produces an SqlException:
Argument data type text is invalid for ar...
I have a table with one and only one column, which is an identity column (PK) of this table. How to insert row in this table?
INSERT INTO table_name
doesn't work, neither does:
INSERT INTO table_name() VALUES()
VALID SOLUTION FROM THE ANSWER:
INSERT INTO table_name DEFAULT VALUES
...
How can I query the read/write ratio in Sql Server 2005? Are there any caveats I should be aware of?
Perhaps it can be found in a DMV query, a standard report, a custom report (i.e the Performance Dashboard), or examining a Sql Profiler trace. I'm not sure exactly.
Why do I care?
I'm taking time to improve the performance of my web a...
Good Evening All,
I've created the following stored procedure:
CREATE PROCEDURE AddQuote
-- Add the parameters for the stored procedure here
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
Declare @CompanyName nvarchar(50),
@Addr nvarchar(50),
@City nvar...
Hi, I have two related sql server tables ... TableA and TableB.
***TableA - Columns***
TableA_ID INT
VALUE VARCHAR(100)
***TableB - Columns***
TableB_ID INT
TableA_ID INT
VALUE VARCHAR(100)
For every single record in TableA there are always 2 records in TableB. Therefore TableA has a one-to-many relationsh...
Hi,
Is there any options as a GUI to manage Microsoft SQL Server 2005 express except Microsoft SQL Server Management Studio Express.
Winxp used. Thanks.
...
I capture packets sent/received by Win Xp machine when connecting to SQL Server 2005 Express using TLS encryption.
Server and Client exchange Hello messages
Server and Client send ChangeCipherSpec message
Then Server and Client server send strange message that is not described in TLS protocol
What is the message?
Server side captu...
I have 40000 records in my DataTable. I want to insert all the records into SQL Server.
I am using vb.net 2008 and SQL Server 2005.
Currently I am using XML to pass from vb.net to SQL Server 2005 but it will give me network error. Is there any other way I can achieve this ?
...
Hello everyone, I have a Realtime table with example data:
Symbol Date Value
ABC 1/3/2009 03:05:01 327 -- is last data for 'ABC'
ABC 1/2/2009 03:05:01 326
ABC 1/2/2009 02:05:01 323
ABC 1/2/2009 01:05:01 313
BBC 1/3/2009 03:05:01 458 -- is last data for 'BBC'
BBC 1/2/2009 03:05:01 ...