Reference Materials

Jun 21, 2008

As I posted earlier, I am relatively new to TSQL. I have been given a few books:
O'Reilly SQL on SQL Server 2005
O'Reilly SQL in a Nutshell
Mastering SQL Server 2005 - Sybex
Beginning SQL Server 2005 Programming - Wrox

I have a copy of SQL2005 Developers Edition on a development server. So I think I have some decent tools at my disposal.

I was wondering if there are any other sites or forums that might be suggested for learning SQL programming? Right now, I am just making stuff up and following examples in books, etc. I would like to find a site where there are beginner level projects for no other purpose than educational. Something where I can get more hands on of the design and programming aspects. Just to practice.

Thanks,
grinch

View 5 Replies


ADVERTISEMENT

I Need SQL Server2005 Materials

Oct 18, 2006

hi every body ; Ineed sql server 2005 material 

View 5 Replies View Related

Materials Of SQL Server 2005

Oct 21, 2007



Hello,
I'm a beginner in SQL Server 2005, I' looking for the LabfilesStarter directory which contains somme scripts to do my home work.
please if somme body have this materials,to send me this directory.Thanks

View 5 Replies View Related

Request For Database Design Materials

Jul 12, 2007

Hi,
If any one who have any sql server database design information can you please forward me that. i am willing to learn the database design concepts. i know how to write storedprocedures but i dont have any good knowledge in this database desing and performing concepts. so now i would like to learn these concepts. so could any one plese help me...
 
 

View 1 Replies View Related

MCDBA - Study Materials Needed

Feb 27, 2002

Hi,
Does anyone have a copy of the MS SQL2000 Administrator exam...??

View 1 Replies View Related

Where Can I Get Materials About Query Optimization In SQL Server?

Aug 16, 2006

It is said that, aimed at the same task, different SQL Select Statements maybe have different efficiency. Microsoft Corp. has provided the tool,Query Analyzer, but I have not any idea.

Thanks.

View 4 Replies View Related

SQL 2012 :: DTSX Giving Errors - Object Reference Not Set To Instance Reference

Sep 10, 2014

I am using vs 2010 to write my dtsx import scripts.I use a script component as a source to create a flat file destination file.Everything have been working fine,but then my development machine crashed and we have to install everything again.Now when i use the execute package utility to test my scripts i get the following error:

Error system.NullReferenceException: Object refrence not set to an instance reference.

In PreExecute section
TextReader = new system.io.streamreader(" file name")
In the CreateNewOutputRows:
dim nextLine as string
nextLine = textReader.ReadLine

[code]...

is there something which i did not install or what can be the error?

View 0 Replies View Related

Create A Query Where Semi Item Materials Are Also Listed In Finished Item Recipe?

Dec 6, 2013

I have a BOM table with all finished item receipes and semi items recipes. create a query where semi item materials are also listed in finished item recipe.

View 5 Replies View Related

T-SQL Reference?

Feb 6, 2004

Hi y'all

Does anybody know reference or pdf file or free e-learning on the web?

View 1 Replies View Related

Reference

Jun 18, 2001

DECLARE Loan_cursor CURSOR FOR
SELECT Loan_No,store
FROM loan
WHERE maturity_date > '2001-04-30' and loan_no like 'ABL%'

OPEN Loan_cursor

-- Perform the first fetch.
FETCH NEXT FROM Loan_cursor

-- Check @@FETCH_STATUS to see if there are any more rows to fetch.
WHILE @@FETCH_STATUS = 0
BEGIN
Declare @LoanNo varchar(12)
** Set @LoanNo = Loan_No

-- This is executed as long as the previous fetch succeeds.
FETCH NEXT FROM Loan_cursor
END

CLOSE Loan_cursor
DEALLOCATE Loan_cursor


when l run the cursor l get the error
Server: Msg 207, Level 16, State 3, Line 15
Invalid column name 'Loan_No'.
.
If l reference it as Set @LoanNo = LoanTable.Loan_No l get the error

Server: Msg 107, Level 16, State 3, Line 15
The column prefix 'loan' does not match with a table name or alias name used in the query.
All l'm trying to do is to compare the loan number that l get from the cursor to the value in the loans table. Maybe reference is a better word

View 1 Replies View Related

Old Sp Reference

Jun 6, 2008

Hi friends,

Just i modified one sub stored procedures which is not getting affected in the main stored procedures

Create procedure main
as
begin
set nocount on

--First sp
exec Data_transfer_sp

--Second sp
Exec Clearance_sp

set nocount off
end

In data_transfer_sp,i have commented the select statement
but still iam use to the select result while execution the main sp.
Note:I have compiled the data_transfer_sp after making comment
.Txs in advance

View 3 Replies View Related

Reference CTE More Than Once In A SP

Sep 11, 2007



Hi All ...

WITH myCTE (x,y,z) AS (SELECT x,y,z, from myTable)

SELECT x,y,sum(z) from myCTE

SELECT y,z,sum(x) from myCTE

the second SELECT fails, and says invalid object name. does the CTE go out of scope after i reference it once?

never mind the semantics of what I am SELECTing, I just want to be able to reference the CTE more than once in my SP

am I trying to use the CTE in a way that was not intended?

View 5 Replies View Related

Reference CTE More Than Once In A SP

Sep 11, 2007



Hi All ...

WITH myCTE (x,y,z) AS (SELECT x,y,z, from myTable)

SELECT x,y,sum(z) from myCTE

SELECT y,z,sum(x) from myCTE

the second SELECT fails, and says invalid object name. does the CTE go out of scope after i reference it once?

never mind the semantics of what I am SELECTing, I just want to be able to reference the CTW more than once in my SP

am I trying to use the CTE in a way that was not intended?

View 1 Replies View Related

How To Get Reference Of .net Dll

Oct 15, 2007

hi ,

can any body help me that how can i use my .net dll into my rdl file.
thanks

Gorla

View 1 Replies View Related

The Reference

Feb 3, 2008

in this code ,whtat is the references of
RelationalDataSourceView
and also
what are the references of these?

OleDbConnection

OleDbCommand

OleDbDataAdapter

View 1 Replies View Related

Object Reference Not Set

Nov 16, 2006

Can anyone see why I would get the 'Object Referenece not set to an instance of an object error in the following code?
It happens on this line:
MyAdapter.SelectCommand = New SqlCommand(SelectStatement, MyConnection) 'Populate the text boxes from database for alumni fields.
Dim MyAdapter As SqlDataAdapter
Dim MyCommandBuilder As SqlCommandBuilder
Dim DetailsDS As DataSet
Dim Row As DataRow
Dim SelectStatement As String = "Select ClientID,ClassYear,HouseName,CampusName,EducationMajor,GraduationDate FROM tblclient Where [ClientID]=" & _
ClientIDSent
Dim ConnectStr As String = _
ConfigurationManager.ConnectionStrings("TestConnectionString").ConnectionString
Dim MyConnection As SqlConnection = New SqlConnection(ConnectStr)
MyAdapter.SelectCommand = New SqlCommand(SelectStatement, MyConnection)
MyCommandBuilder = New SqlCommandBuilder(MyAdapter)
MyAdapter.Fill(DetailsDS, "tblClient")

Row = DetailsDS.Tables("tblClient").Rows(0)
ClassYearText.Text = Row.Item("Classyear").ToString()
HouseNameText.Text = Row.Item("HouseName").ToString()
CampusNameText.Text = Row.Item("CampusName").ToString()
EducationMajorText.Text = Row.Item("EducationMajor").ToString()
GraduationDateText.Text = Row.Item("GraduationDate").ToString() 

View 2 Replies View Related

SQL Reference Online?

Jan 21, 2004

Hi,

I'm looking for a good reference guide online as I am more used to mysql (and stil quite limited vocab at that)

I create table outside of a database by accident and I'm now looking for the sql syntaxt for moving tables, but I can't find it anywhere?

most simple guides don't seem to provide the syntax to do this. :(

View 11 Replies View Related

Reference Material

Feb 23, 2004

does any one know any good pages to get some sql commands
and explainations thanks

View 2 Replies View Related

Why Must My SQL Object Reference With The DBO Name.

Sep 20, 2000

Hi,

I am access SQL 7 via ADO in some ASP pages. My database objects were created under a user name aliased to the dbo. As a result, when I have my client logon to make a connection, I have to preface all my object references with the name of the owner, i.e., Select * from mydboname.people . Is there a way to avoid having to prefix all my transact sql statements with the owner?

thanks,

steve

View 2 Replies View Related

Un Reference Tables

Sep 1, 2004

I have two tables that are reference to each other by foreign key, now I would like to alter the table so the it doesn't reference each other any more. What is the syntax to alter a table so that the fk field doesn't reference a table anymore. Thanks in advance for the help.

View 1 Replies View Related

MDX Reference Book

Feb 17, 2004

What would you recommend for a good MDX book ?
specifically, for syntax, data structures and sample code.



thx

C

View 1 Replies View Related

Reference Error

Jun 14, 2006

i have this code,


CREATE TABLE s
(sno VARCHAR(5) NOT NULL PRIMARY KEY,
name VARCHAR(16),
city VARCHAR(16)
)

CREATE TABLE p
(pno VARCHAR(5) NOT NULL PRIMARY KEY,
descr VARCHAR(16),
color VARCHAR(8)
)

CREATE TABLE sp
(sno VARCHAR(5) NOT NULL REFERENCES s,
pno VARCHAR(5) NOT NULL REFERENCES p,
qty INT CHECK (qty>=0),
PRIMARY KEY (sno, pno)
)


when i run this query i get an error saying:

Column 's.sno' is not the same length as referencing column 'sp.sno' in foreign key 'FK__sp__sno__5EBF139D'. Columns participating in a foreign key relationship must be defined with the same length.


can anyone assist me what to be done?

View 6 Replies View Related

Self Reference Tables

Jul 14, 2006

Hi ,

I have the following structure:

Item table
----------
ItemId
ItemName



Item Transaction Table
----------------------
TransactionId
GiverItemId
SenderItemId



the data is somewhat like this:

Item table
__________
1abc
2xyz
3pnr
4rew
5dds
6djs
7dsf

Item Transaction table
---------------------
112
224
343
437



Now i have a reauirement to build a stored proc in which all the transactions starting from one transaction like, if i want to know the chain for item no 2 it shall give the following result:

24
43
37

if i want to know the chain for item no 3 then it shall give following
37

if i want to know the chain for item no 1 then it shall give following
12
24
43
37

Please help.. Its urgent.....

Thanks

View 1 Replies View Related

What Is The Best XML Reference / Book??

Mar 27, 2008

I am teaching myself XML and was wondering if anyone knows
any good books to gently breaking me into XML.

Kind Regards

Rob

View 2 Replies View Related

Reference SQL Parser

Jul 20, 2005

I need to parse SQL statements directly and extract each segmentindividually. Is there a way reference the Microsoft SQL Parserdirectly from VB.Net?Thanks!*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!

View 6 Replies View Related

Sample's Reference

Sep 26, 2007



Forgive me for my programming ignorance, but how to i find the microsoft.sqlserverce.samples.accesssync.editdata reference?

Thanks

View 1 Replies View Related

Object Reference Not Set...

Jul 31, 2007

Hello. I'm getting an error - "Object reference not set to an instance of an object" when running an SSRS report with graphs. It only happens when the returned dataset is empty (based on parameters set by the user, it is possible to return no rows). I've tried using the NoRows property (I entered "No Data" in the property box), but I still get the same error. Is there another way to account for an empty dataset in charts?

Thanks,
Marianne

View 3 Replies View Related

Add A Reference In ScriptComponent

Apr 11, 2007

I would like to use a custom build class library written in C# inside of the vb script. Does anyone know how to add the reference to the scriptComponent project once you open script through design script button?



By the way I am using visul studio 2005.





Thanks!

View 9 Replies View Related

UDT - Get Reference To Table

Jan 12, 2007

Hello everyone !

Given a UDT, is there any way to get a reference to the table where the specific instance is running ?

IE: Let's suppose we have defined a UDT named UDTPoint; now we define two tables: ATable & BTable, wich both have one column that is defined as UDTPoint.

When an insert/update/delete operation on ATable or BTable occurs, the UDTPoint class needs to verify in which context it is running (ATable or BTable) before doing operations on data.

Is there any way to achieve that ?

Thanks



Giovanni

View 1 Replies View Related

Aseembly Reference With EXE

Apr 21, 2008

Hi,
I wanted to add a reference to an assembly in my report (not a DLL, but an EXE). As I see there is no option to select an assembly which is an EXE. Firstly, is it possible to add a reference to an EXE (I guess not)? Secondly, If no, why is it not possible?


Shyam

View 1 Replies View Related

Calculating Next Reference

Feb 6, 2008

Hi,

Our tables have a reference field which users can enter their own references into.

However, they can choose to have the system calculate the next reference number.

The reference can contain any characters from a-z, A-Z and 0-9.

In our system, reference AAAA is greater than reference ZZZ; the next reference after AAAA is AAAB.

How would I calculate the greatest current reference in the table?

View 3 Replies View Related

How To Add A Reference To A Report?

Aug 2, 2007

Hi:
I am bulding a report in VS 2005 using the reporting services. I like to know how to add a new reference to my report?

ty
Ben

View 5 Replies View Related

Best Way To Reference A Table With A Composite Key?

Nov 24, 2006

The table above is my users table. It allows for a user to be at multiple sites or multiple locations within a single site or multiple sites. Would it be wise to use a auto incrementing primary key instead of the 3 column composite key? The reason I ask is because if I am referencing this SU table (which I will be a lot), a lot more data would be replicated to the tables which have the foreign key to this table, right? But if I used a single incrementing column as the primary key, only a small integer would be used as the foreign key, saving space?Does this make sense?   

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved