Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / SQL / October 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Sub Queries Question01 Nov 2008 00:38 GMT1
I have 2 seperate queries which give me 2 seprate view objects, then I do
inner join between 2 view to get my result.  How can I do this with 1 query
using sub queries?
Here are my queries:
What's wrong with this cursor01 Nov 2008 00:30 GMT4
I am test some stored procedure that consists of a cursor. The procedure
utilizes pubs database. However, I cannot seem to get to compile it properly.
I would appreciate any help to resolve this matter.
CODE:
Using BCP method01 Nov 2008 00:16 GMT2
Is there any other method like the bcp that will allow exporting of header row?
go
declare @sql varchar(8000)
select @sql = 'bcp "select * from twc..vw_dvdn" queryout c:\123.csv -c -t,
Can't save Procedure containing EXEC01 Nov 2008 00:02 GMT5
1. I have a SQL2000 database which I attached to SQL2005.
2. I wrote a stored procedure containing a number of EXEC statements calling
other procedures.
3. When I try to save the procedure, I get the messages below:
Enums in UDT31 Oct 2008 21:51 GMT1
It seems that we can't deploy in SQL Server, a UDT that contains an
enumeration.
I get the following message:
Error 4 Type "TestSecurityMichel.SecurityFilterContext" is marked for native
T-SQL - How to using View31 Oct 2008 19:43 GMT1
This seems simple enough; could even be a student's homework problem.  But I
am not a student in a SQL class, and I would like to know how to do this
using a view.  I c could easily do this using a cursor each time, but a view
would be better still.
Move database files to my application's folder31 Oct 2008 18:22 GMT3
I'd like to move my database files to my application's folder.
How can I do that?
Thanks
mdf file is too big!31 Oct 2008 18:03 GMT4
I have an aspnetdb database that has only a few items in it but it is still
2.5 megs.
Is there some way I can make it smaller?
Thanks
2 Decimal places in a calculation? -Newbie Needs Help31 Oct 2008 17:45 GMT5
I need help with the syntax in getting only two decimal places in a division
calculation. Using SQL 2005. I looked up convert decimal but can't figure out
how to apply it in the calculation. I use the * 1.0 to get a decimal point.
SELECT     COUNT(dbo.CM.CMDate) AS [Calls Monitored] ...
I cant run schedule job.31 Oct 2008 17:37 GMT2
Error: Executed as user: dbo. The EXECUTE permission was denied on the object 'xp_cmdshell'<c/> database 'mssqlsystemresource'<c/> schema 'sys',.
Could you please tell me how to fix
Spreadsheet like table - 2 (Rookie)31 Oct 2008 16:51 GMT27
From the following tables:
************************
EXPENSES
Id_Expenses (num)
trigger firing web service?31 Oct 2008 16:03 GMT2
Is it possible for a SQL Server 2000 trigger to call a web service? One of
the fields in my database contains a lengthy XML string. When a new record
is inserted, I'd like to pass that XML string to a web service written in C#
so I can process it.
ALTER TABLE31 Oct 2008 11:40 GMT1
I have 2 tables - Table1 & Table2. There is a column named Col1 in
both the tables. Col1 is the PRIMARY KEY in Table1. I want Col1 in
Table2 to be the FOREIGN KEY of this PRIMARY KEY column.
How do I make Col1 in Table2 the FOREIGN KEY using the ALTER TABLE
View turns slower at once31 Oct 2008 11:37 GMT2
I have created a view, that is pretty fast when getting the records.
One of the fields is a date that I use to get my data for a certain
period of time.
I now find the following:
Where not exists31 Oct 2008 11:31 GMT2
I have some SQL that I want to return all agents that are not returned
by a statement. I am using a WHERE NOT EXISTS statement around the main
statement to do this but it doesn't return anything where it should
return 2 agents.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.