all groups > sql server programming > april 2006 > threads for saturday april 29
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
sqlite current_timestamp
Posted by Rain at 4/29/2006 7:04:01 PM
Hi, im hoping someone could help me with this problem. I would appreciate any
help at all:
SQLite said that it supports current_timestamp but it doesnt work when i use
it as a Default value, for example: (Im executing these sql statements in
sqliteqa)
1.drop table sample_table;
2.create... more >>
SET ANSI_WARNINGS OFF
Posted by simon at 4/29/2006 6:52:30 PM
I must have SET ANSI_WARNINGS OFF because the program reads return value and
it happends to be ANSI varning instead of return value.
But If I include SET ANSI_WARNINGS OFF into my procedure, I'm getting an
errors because of indexed views.
Is there any solution to this?
regards,S
... more >>
Previewing Crystal Report
Posted by Steve Happ at 4/29/2006 1:06:01 PM
Hello:
This is probably a very elementary auestion, but I am new to SQL and Crystal
Reports.
We use a 3rd party SQL application. This app uses stored procedures and
Crystal Reports. I've copied and modified one of the stored procedures to
add an additional parameter and copied the Crys... more >>
Intermittent slow performing SP
Posted by smithabreddy NO[at]SPAM gmail.com at 4/29/2006 12:19:27 PM
Hello,
I have a stored proc that has started behaving strangely a few weeks
after upgrading to SQL Server 2005. This problem cannot be replicated
in the test environment.
The stored proc responds within 1 second in the Production environment
until it slows down (not sure why) and takes abo... more >>
List of hacking applications that run on USB flash drive
Posted by xTx at 4/29/2006 7:55:10 AM
Security applications such as namp and ethereal are appearing that run
straight from a thumb drive and packet capture, detection and injection
tools no longer require the installation of WinPCap or other
third-party packet capture drivers.
Link:
http://ttcom.blogspot.com/2006/04/list-of-hacki... more >>
Help with SQL QUESTION
Posted by pagabas at 4/29/2006 12:16:54 AM
Consider the rows for a given extract:
DeviceNumber Type Sequence1 Sequence2
90001 1 A 5
90001 1 A 6
90001 1 B 4
90001 ... more >>
Is there performance penalty for returning resultsets instead of rows
Posted by Dejan Grujic at 4/29/2006 12:00:00 AM
I'm using server cursor for generic paging.
Interesting part is this:
FETCH RELATIVE @StartRow FROM cur
WHILE @PageSize > 1 AND @@FETCH_STATUS = 0
BEGIN
FETCH NEXT FROM cur
SET @PageSize = @PageSize - 1
END
Instead of single result set with N rows, this returns N result sets
with 1 r... more >>
Hierarchical queries in SQL Server 2000
Posted by Subbaiah at 4/29/2006 12:00:00 AM
Hi,
Do we have Hierarchical queries in SQL Server 2000 (like
that by using start with....connect by prior... in
Oracle)?
If someone has worked on some work-around to do so
in SQL Server 2000, pl. let me know.
Thanks in advance.
Regards
M. Subbaiah
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Array as variable ?
Posted by Niclas at 4/29/2006 12:00:00 AM
Hi,
I am in a situation where I have an array of userIDs in VB .Net. For each of
these UserIDs I need to query the database for the fastest time for each
user and would like to fill a dataset ordered with fastest to slowest time.
Is there any way I can manage this in T-SQL and submit an ar... more >>
Select query with column name + value
Posted by Subbaiah at 4/29/2006 12:00:00 AM
Hi,
In my application i am having the situation that, the select query will
returns Column Name + Value.
Ex.
Subject Author
------------------------------------------------
Subject - VisualBasic Author - BalaGuruSamy
Subject - C++ Aut... more >>
temp table in sp_executesql
Posted by simon at 4/29/2006 12:00:00 AM
This works:
set @sql=N'DECLARE C_LOOPR CURSOR FAST_FORWARD FOR '+
'SELECT v.ING_ID,v.staID from v_predRez v WHERE v.ING_ID IN('+@sIngIDs+')
'
EXEC sp_executesql @sql
OPEN C_LOOPR
....
.....
If I create temp table, doesn't work any more:
set @sql=N'declare @skl table(TX_SKL va... more >>
sql script.
Posted by h at 4/29/2006 12:00:00 AM
Hi,
Can any one tell me the script for following task:
I am working with a parent table contained with 90 rows and child table with
50 rows(suppose it has no duplicate master value) , I want to write the
script for find that unmatched 40 rows from parent.
Parent table's fields : empmast_i... more >>
SMO Restore Question
Posted by Amos Soma at 4/29/2006 12:00:00 AM
I am using SMO to restore a database. My question has to do with how to
specify where the .MDF and .LDF files should go. If I do a restore manually
via Management Studio, a default location is provided which is 'C:\Program
Files\Microsoft SQL Server\MSSQL\Data\'. Is there someway in SMO that I... more >>
|