The same results Borislav..
I guess the table is lost..
And dhulbert how do i know what schema i'm in and which ones is there ? I didnt see any "schema" in query analyzer or server enterprise.
Thanks however.
Hi Borislav !
I ran:
exec sp_MSForEachDB
'IF OBJECT_ID(''?.dbo.contact1'') IS NOT NULL SELECT ''?'' AS DataBaseName'and recieved:
Does it mean the table doesnt exist ? I didnt run the comman as properly?
Thanks !
Hi,
I'm looking for a table which name is, say, "mytable". It is located in one of my databases but i dont know which one. Is there some "search" command to find a table through its name unknowingly its database ?
Thanks.
Hi ,
This is a "very beginner's question" but i still need help with that.
I need to copy a table to a disk or send it to a remote computer via email. Where do i find a "sql server table" on the disk ? What is its extension ? Name ? does it carry the same name given to it in SQL Server on the...
Hi,
I'd like to assign the number of rows in my table into a parameter
like this:
DECLARE @myparam INTEGER
SET @myparam=SELECT COUNT(*) FROM myTable
or
DECLARE @myparam INTEGER
SELECT COUNT(*) INTO @mypara FROM myTable
but both do not work.
Is there a third way that works ?
Thanks.
Hi Otto
I ran your code changing it into "not like rather than like and it worked OK!
thanks A LOT !
HI Earhandfire
Either i didnt understand it or it didnt match excactly my need, I couldnt use the PATINDEX keyword.
And thank you GMMastros !
Hi,
In my table there's a string type column.
I want it to contain digits only.
I want to see all lines with that string having any other character
but a digit.
I search a code that will do something like
SELECT
myStringCol
WHERE
All characters>='0' AND
all_characters<='9'
"All charcters" is my...
Hi,
I try to work with functions but i end by working with errors.
The following is the code to make a function
CREATE FUNCTION aaa (@myDigit INTEGER)
RETURNS INTEGER
AS
BEGIN
RETURN @myDigit
END
and the following is the code calling that function:
CREATE PROCEDURE bbb @hisDigit INTEGER
AS...
Thanks SkipVought,
If this is not easy or fast, why not asp.net or Access ? Why excel ?
In other words, there is no other simple way to import sheets to an excel sheet but copy-paste. Isn't it so ?
Thanks. It is an important information[bigsmile]
Hi Davesexecl
Sorry for the very late response.
The truth is i dont know to work with Excel's macro commands so i couldnt use your advise.
Is there a link for a short and easy tutorial to learn this ?
Thanks a lot !
Hi,
I want to add to my existing excel page many more pages from variuos files of identical structure. Is there a safer and faster way than "copy-paste" ?
thanks.
The second parameter: "@myparam" recieved that value.
I ran the procedure writing:
"exec dbo.Dynamic '1','march_3_07'". '1' is for an example. it could by 'vip' or "employees" or :"managers". It is a cretiria for an employee. Lets say i want to show all managers that live in "ny" so i send "ny"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.